forked from qt-creator/qt-creator
Utils: Pimpl BaseAspect
Change-Id: I70a7d49010c24a44dc64d20c5548c249964b78bd Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -124,14 +124,14 @@ void GlobalOrProjectAspect::fromMap(const QVariantMap &map)
|
||||
{
|
||||
if (m_projectSettings)
|
||||
m_projectSettings->fromMap(map);
|
||||
m_useGlobalSettings = map.value(m_id.toString() + QLatin1String(".UseGlobalSettings"), true).toBool();
|
||||
m_useGlobalSettings = map.value(id().toString() + ".UseGlobalSettings", true).toBool();
|
||||
}
|
||||
|
||||
void GlobalOrProjectAspect::toMap(QVariantMap &map) const
|
||||
{
|
||||
if (m_projectSettings)
|
||||
m_projectSettings->toMap(map);
|
||||
map.insert(m_id.toString() + QLatin1String(".UseGlobalSettings"), m_useGlobalSettings);
|
||||
map.insert(id().toString() + ".UseGlobalSettings", m_useGlobalSettings);
|
||||
}
|
||||
|
||||
void GlobalOrProjectAspect::resetProjectToGlobalSettings()
|
||||
|
||||
Reference in New Issue
Block a user