Commit 51df3d05 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

SettingsAccessorPrivate:Settings: Remove constructors

Makes the class even simpler. Those constructors don't do anything.

Change-Id: Ifb255047de966ebd950b874b82ec86caacbbbbc8
Reviewed-by: default avatarDaniel Teske <>
parent 4b40aa5b
......@@ -416,9 +416,6 @@ public:
class Settings
Settings() {}
Settings(const QVariantMap &map) : map(map) {}
bool isValid() const;
QVariantMap map;
......@@ -656,7 +653,8 @@ bool SettingsAccessor::saveSettings(const QVariantMap &map, QWidget *parent) con
SettingsAccessorPrivate::Settings settings(map);
SettingsAccessorPrivate::Settings settings; = map;
settings.path = FileName::fromString(defaultFileName(m_userSuffix));
const QVariant &shared = m_project->property(SHARED_SETTINGS);
if (shared.isValid())
Supports Markdown
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