summaryrefslogtreecommitdiff
path: root/src/plugins/subversion/settingspage.cpp
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>2009-01-13 15:41:33 +0100
committerThorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>2009-01-13 16:03:55 +0100
commit59c8b933094b08513d1a7aadccb5b5c000972b72 (patch)
tree7d3ac5fa2f71635aef83b416bd58dddce42237a6 /src/plugins/subversion/settingspage.cpp
parente6f7cb68a56e4531020273b73c06781536bd3158 (diff)
downloadqt-creator-59c8b933094b08513d1a7aadccb5b5c000972b72.tar.gz
Modified IOptionsPage interface for Apply button
The previous interface wasn't sufficient to properly support the Apply button, since it didn't separate applying the changes from the cleanup phase. Designer settings pages still need some fixing. Fixes Apply button causing problems for certain plugins, for example the QuickOpen.
Diffstat (limited to 'src/plugins/subversion/settingspage.cpp')
-rw-r--r--src/plugins/subversion/settingspage.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/subversion/settingspage.cpp b/src/plugins/subversion/settingspage.cpp
index e8c300c600..4cbc0df21d 100644
--- a/src/plugins/subversion/settingspage.cpp
+++ b/src/plugins/subversion/settingspage.cpp
@@ -100,9 +100,9 @@ QWidget *SettingsPage::createPage(QWidget *parent)
return m_widget;
}
-void SettingsPage::finished(bool accepted)
+void SettingsPage::apply()
{
- if (!accepted || !m_widget)
+ if (!m_widget)
return;
SubversionPlugin::subversionPluginInstance()->setSettings(m_widget->settings());
}