forked from qt-creator/qt-creator
Plugins: A bit more Keys and Store
Change-Id: Iee55eeaa881dd9f2047fdbe95ad8d827f4ba34e0 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
@@ -69,11 +69,11 @@ void QmlJSCodeStylePreferences::slotCurrentValueChanged(const QVariant &value)
|
||||
emit currentCodeStyleSettingsChanged(value.value<QmlJSCodeStyleSettings>());
|
||||
}
|
||||
|
||||
QVariantMap QmlJSCodeStylePreferences::toMap() const
|
||||
Store QmlJSCodeStylePreferences::toMap() const
|
||||
{
|
||||
QVariantMap map = ICodeStylePreferences::toMap();
|
||||
Store map = ICodeStylePreferences::toMap();
|
||||
if (!currentDelegate()) {
|
||||
const QVariantMap dataMap = m_data.toMap();
|
||||
const Store dataMap = m_data.toMap();
|
||||
for (auto it = dataMap.begin(), end = dataMap.end(); it != end; ++it)
|
||||
map.insert(it.key(), it.value());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user