summaryrefslogtreecommitdiff
path: root/src/plugins/designer/settingspage.cpp
diff options
context:
space:
mode:
authorhjk <hjk121@nokiamail.com>2014-09-03 16:03:35 +0200
committerhjk <hjk121@nokiamail.com>2014-09-04 10:23:22 +0200
commit1e28e7590491ec1030a6b014c9d18ea9826b6799 (patch)
tree1f44e1659faf3ee9b0564e5ddfe0693fb21b219f /src/plugins/designer/settingspage.cpp
parentf70ba9930eacdb91e31e8b1f2f4f57afee2aac80 (diff)
downloadqt-creator-1e28e7590491ec1030a6b014c9d18ea9826b6799.tar.gz
Designer: Use static pattern for FormEditorW singleton
Change-Id: Icf4a0135d9bc8441d468fd77abe29adcee677bb9 Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Diffstat (limited to 'src/plugins/designer/settingspage.cpp')
-rw-r--r--src/plugins/designer/settingspage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/designer/settingspage.cpp b/src/plugins/designer/settingspage.cpp
index ef471f0808..b6606e1c24 100644
--- a/src/plugins/designer/settingspage.cpp
+++ b/src/plugins/designer/settingspage.cpp
@@ -84,7 +84,7 @@ QList<Core::IOptionsPage *> SettingsPageProvider::pages() const
m_initialized = true;
FormEditorW::ensureInitStage(FormEditorW::RegisterPlugins);
}
- return FormEditorW::instance()->optionsPages();
+ return FormEditorW::optionsPages();
}
bool SettingsPageProvider::matches(const QString &searchKeyWord) const