summaryrefslogtreecommitdiff
path: root/src/plugins/debugger/commonoptionspage.cpp
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2012-01-24 15:36:40 +0100
committerhjk <qthjk@ovi.com>2012-01-24 18:48:47 +0100
commit4a21f0c3c8b30cd0bc5957110506e304c629a99b (patch)
tree3d2477e3f1485ccaa319557bb2229e3f34324867 /src/plugins/debugger/commonoptionspage.cpp
parentc14a4756a92586424f0f1a00c6134e441db50afd (diff)
downloadqt-creator-4a21f0c3c8b30cd0bc5957110506e304c629a99b.tar.gz
Use new static ICore interface.
Change-Id: I9b690d9b150c8d162b15370f9f8986267c9128f1 Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
Diffstat (limited to 'src/plugins/debugger/commonoptionspage.cpp')
-rw-r--r--src/plugins/debugger/commonoptionspage.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/debugger/commonoptionspage.cpp b/src/plugins/debugger/commonoptionspage.cpp
index b257a16fae..6e82fcbdbe 100644
--- a/src/plugins/debugger/commonoptionspage.cpp
+++ b/src/plugins/debugger/commonoptionspage.cpp
@@ -180,7 +180,7 @@ void CommonOptionsPage::apply()
{
QTC_ASSERT(!m_widget.isNull() && !m_group.isNull(), return; )
- QSettings *settings = ICore::instance()->settings();
+ QSettings *settings = ICore::settings();
m_group->apply(settings);
const GlobalDebuggerOptions newGlobalOptions = m_widget->globalOptions();
@@ -245,7 +245,7 @@ QIcon DebuggingHelperOptionPage::categoryIcon() const
void DebuggingHelperOptionPage::apply()
{
- m_group.apply(ICore::instance()->settings());
+ m_group.apply(ICore::settings());
}
void DebuggingHelperOptionPage::finish()