diff options
author | hjk <[email protected]> | 2013-08-12 17:05:52 +0200 |
---|---|---|
committer | hjk <[email protected]> | 2013-08-13 13:18:42 +0200 |
commit | cd460a363804f51ea560b5b4c94ad66df13c5674 (patch) | |
tree | c7bd2a9cda84b14d68ee689231bcfa0f156f72cb /src/plugins/debugger/debuggerrunconfigurationaspect.cpp | |
parent | e3ae9e80b5ee2fa2445be37bdf1753695c9c0c4d (diff) |
RunConfigurationAspect: Streamline data serialization
Change-Id: I6f49dd9eeff53eafc51bd5238ca655437df12111
Reviewed-by: Tobias Hunger <[email protected]>
Reviewed-by: Daniel Teske <[email protected]>
Reviewed-by: hjk <[email protected]>
Diffstat (limited to 'src/plugins/debugger/debuggerrunconfigurationaspect.cpp')
-rw-r--r-- | src/plugins/debugger/debuggerrunconfigurationaspect.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/debugger/debuggerrunconfigurationaspect.cpp b/src/plugins/debugger/debuggerrunconfigurationaspect.cpp index 8bd6d7100a6..78d0f345556 100644 --- a/src/plugins/debugger/debuggerrunconfigurationaspect.cpp +++ b/src/plugins/debugger/debuggerrunconfigurationaspect.cpp @@ -277,16 +277,14 @@ bool DebuggerRunConfigurationAspect::isQmlDebuggingSpinboxSuppressed() const return dev->canAutoDetectPorts(); } -QVariantMap DebuggerRunConfigurationAspect::toMap() const +void DebuggerRunConfigurationAspect::toMap(QVariantMap &map) const { - QVariantMap map; map.insert(QLatin1String(USE_CPP_DEBUGGER_KEY), m_useCppDebugger == EnabledLanguage); map.insert(QLatin1String(USE_CPP_DEBUGGER_AUTO_KEY), m_useCppDebugger == AutoEnabledLanguage); map.insert(QLatin1String(USE_QML_DEBUGGER_KEY), m_useQmlDebugger == EnabledLanguage); map.insert(QLatin1String(USE_QML_DEBUGGER_AUTO_KEY), m_useQmlDebugger == AutoEnabledLanguage); map.insert(QLatin1String(QML_DEBUG_SERVER_PORT_KEY), m_qmlDebugServerPort); map.insert(QLatin1String(USE_MULTIPROCESS_KEY), m_useMultiProcess); - return map; } void DebuggerRunConfigurationAspect::fromMap(const QVariantMap &map) |