summaryrefslogtreecommitdiff
path: root/src/plugins/mercurial/optionspage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/mercurial/optionspage.cpp')
-rw-r--r--src/plugins/mercurial/optionspage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/mercurial/optionspage.cpp b/src/plugins/mercurial/optionspage.cpp
index 2e7587a435..e212435d24 100644
--- a/src/plugins/mercurial/optionspage.cpp
+++ b/src/plugins/mercurial/optionspage.cpp
@@ -125,7 +125,7 @@ void OptionsPage::apply()
if (newSettings != plugin->settings()) {
//assume success and emit signal that settings are changed;
plugin->setSettings(newSettings);
- newSettings.writeSettings(Core::ICore::instance()->settings());
+ newSettings.writeSettings(Core::ICore::settings());
emit settingsChanged();
}
}