forked from qt-creator/qt-creator
Replace virtual isModified method with a getter/setter/notifier
We have lacked the setter and dedicated notifier before. Change-Id: I58845a48259d260c5cc90ae94b173c79cddcfef9 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
@@ -92,7 +92,7 @@ void ExtPropertiesMView::onConfigPathChanged(const QString &path)
|
||||
if (path.isEmpty()) {
|
||||
if (!project->configPath().isEmpty()) {
|
||||
project->setConfigPath(QString());
|
||||
m_projectController->setModified();
|
||||
m_projectController->setModified(true);
|
||||
modified = true;
|
||||
}
|
||||
} else {
|
||||
@@ -103,7 +103,7 @@ void ExtPropertiesMView::onConfigPathChanged(const QString &path)
|
||||
QString configPath = projectDir.relativeFilePath(absConfigPath.filePath());
|
||||
if (configPath != project->configPath()) {
|
||||
project->setConfigPath(configPath);
|
||||
m_projectController->setModified();
|
||||
m_projectController->setModified(true);
|
||||
modified = true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user