Commit c0da79f4 authored by Tobias Hunger's avatar Tobias Hunger

SettingsAccessor: Make environmentidFromMap static

Change-Id: I16564c95769f3bb3af6b096aff2658e1232df35e
Reviewed-by: default avatarDaniel Teske <>
parent f05efd37
......@@ -619,7 +619,7 @@ void trackUserStickySettings(QVariantMap &userMap, const QVariantMap &sharedMap)
} // Anonymous
QByteArray SettingsAccessor::environmentIdFromMap(const QVariantMap &data) const
QByteArray SettingsAccessor::environmentIdFromMap(const QVariantMap &data)
return data.value(QLatin1String(ENVIRONMENT_ID_KEY)).toByteArray();
......@@ -93,7 +93,7 @@ private:
bool readFile(SettingsData *settings) const;
bool writeFile(const SettingsData *settings, QWidget *parent) const;
QByteArray environmentIdFromMap(const QVariantMap &data) const;
static QByteArray environmentIdFromMap(const QVariantMap &data);
int m_firstVersion;
int m_lastVersion;
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