Commit 84b3f0af authored by dt's avatar dt
Browse files

Fix a wrong check for the modification date for cmake projects.

Now it should finally ask to regenerate in all circumstances. (If you
are using CMake from cvs.)
parent 6aeb09a0
......@@ -92,7 +92,7 @@ void CMakeProject::slotActiveBuildConfiguration()
mode = CMakeOpenProjectWizard::NeedToCreate;
} else {
foreach(const QString &file, m_watchedFiles) {
if (QFileInfo(file).lastModified() > sourceFileInfo.lastModified()) {
if (QFileInfo(file).lastModified() > cbpFileFi.lastModified()) {
mode = CMakeOpenProjectWizard::NeedToUpdate;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment