summaryrefslogtreecommitdiff
path: root/src/plugins/modeleditor/extpropertiesmview.cpp
diff options
context:
space:
mode:
authorJarek Kobus <jaroslaw.kobus@theqtcompany.com>2016-10-07 15:58:40 +0200
committerJarek Kobus <jaroslaw.kobus@qt.io>2016-10-17 14:44:08 +0000
commit59c90e00c1e8b18d120f5b5c15b331b1ee427ace (patch)
tree813294816790a798877bd00e92a0a9b980b8d106 /src/plugins/modeleditor/extpropertiesmview.cpp
parentcaf721430b1a02be6f76fb5d98d44ecb2e5cdab9 (diff)
downloadqt-creator-59c90e00c1e8b18d120f5b5c15b331b1ee427ace.tar.gz
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>
Diffstat (limited to 'src/plugins/modeleditor/extpropertiesmview.cpp')
-rw-r--r--src/plugins/modeleditor/extpropertiesmview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/modeleditor/extpropertiesmview.cpp b/src/plugins/modeleditor/extpropertiesmview.cpp
index 529f251dca..2037621658 100644
--- a/src/plugins/modeleditor/extpropertiesmview.cpp
+++ b/src/plugins/modeleditor/extpropertiesmview.cpp
@@ -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;
}
}