Commit fe038630 authored by Tobias Hunger's avatar Tobias Hunger

SettingsAccessor: Remove SettingsAccessorPrivate::Settings::isValid

It is unused.

Change-Id: I9cace756479a2af2a1b96a3e4bde790f31b319ae
Reviewed-by: Marco Bubke's avatarMarco Bubke <marco.bubke@qt.io>
parent da205fd4
......@@ -256,8 +256,6 @@ public:
class Settings
{
public:
bool isValid() const;
QVariantMap map;
FileName path;
};
......@@ -843,13 +841,4 @@ QVariantMap SettingsAccessor::mergeSettings(const QVariantMap &userMap,
return upgradeSettings(result);
}
// -------------------------------------------------------------------------
// SettingsData
// -------------------------------------------------------------------------
bool SettingsAccessorPrivate::Settings::isValid() const
{
return SettingsAccessor::versionFromMap(map) > -1 && !path.isEmpty();
}
} // namespace Utils
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