Commit be48a3fa authored by hjk's avatar hjk Committed by Christian Kandeler
Browse files

Use Core::Id for IOptionsPage::m_id



Change-Id: Id9d6cf28966eeb65775cf1f16f57773af5fb6bca
Reviewed-by: default avatarChristian Kandeler <christian.kandeler@digia.com>
parent 5e7cf3f0
...@@ -172,9 +172,9 @@ QString ValgrindBaseSettings::valgrindExecutable() const ...@@ -172,9 +172,9 @@ QString ValgrindBaseSettings::valgrindExecutable() const
return m_valgrindExecutable; return m_valgrindExecutable;
} }
QString ValgrindBaseSettings::id() const Core::Id ValgrindBaseSettings::id() const
{ {
return QLatin1String("Analyzer.Valgrind.Settings"); return "Analyzer.Valgrind.Settings";
} }
QString ValgrindBaseSettings::displayName() const QString ValgrindBaseSettings::displayName() const
......
...@@ -55,7 +55,7 @@ public: ...@@ -55,7 +55,7 @@ public:
virtual QVariantMap defaults() const; virtual QVariantMap defaults() const;
virtual void fromMap(const QVariantMap &map); virtual void fromMap(const QVariantMap &map);
virtual QString id() const; virtual Core::Id id() const;
virtual QString displayName() const; virtual QString displayName() const;
signals: signals:
......
...@@ -109,7 +109,7 @@ CommonOptionsPage::CommonOptionsPage(QObject *parent) : ...@@ -109,7 +109,7 @@ CommonOptionsPage::CommonOptionsPage(QObject *parent) :
{ {
m_settings.fromSettings(Core::ICore::settings()); m_settings.fromSettings(Core::ICore::settings());
setId(QLatin1String(Constants::VCS_COMMON_SETTINGS_ID)); setId(Constants::VCS_COMMON_SETTINGS_ID);
setDisplayName(QCoreApplication::translate("VcsBase", Constants::VCS_COMMON_SETTINGS_NAME)); setDisplayName(QCoreApplication::translate("VcsBase", Constants::VCS_COMMON_SETTINGS_NAME));
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment