forked from qt-creator/qt-creator
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.)
This commit is contained in:
@@ -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;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user