forked from qt-creator/qt-creator
Use new static ICore interface.
Change-Id: I9b690d9b150c8d162b15370f9f8986267c9128f1 Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
This commit is contained in:
@@ -119,7 +119,7 @@ AnalyzerGlobalSettings::~AnalyzerGlobalSettings()
|
||||
|
||||
void AnalyzerGlobalSettings::readSettings()
|
||||
{
|
||||
QSettings *settings = Core::ICore::instance()->settings();
|
||||
QSettings *settings = Core::ICore::settings();
|
||||
|
||||
QVariantMap map;
|
||||
|
||||
@@ -136,7 +136,7 @@ void AnalyzerGlobalSettings::readSettings()
|
||||
|
||||
void AnalyzerGlobalSettings::writeSettings() const
|
||||
{
|
||||
QSettings *settings = Core::ICore::instance()->settings();
|
||||
QSettings *settings = Core::ICore::settings();
|
||||
settings->beginGroup(QLatin1String(groupC));
|
||||
const QVariantMap map = toMap();
|
||||
for (QVariantMap::ConstIterator it = map.begin(); it != map.end(); ++it)
|
||||
|
||||
Reference in New Issue
Block a user