diff options
author | hjk <qtc-committer@nokia.com> | 2012-02-22 12:36:39 +0100 |
---|---|---|
committer | hjk <qthjk@ovi.com> | 2012-02-22 14:23:58 +0100 |
commit | c5879f843d63c7396f624d78590c43b14403fb7b (patch) | |
tree | 9c1118a30a52c8c2ed6cbcbc7be15f163649e471 /src/plugins/valgrind/valgrindsettings.cpp | |
parent | b1b431f21f638e94780c494a9b3f443c6c825df3 (diff) | |
download | qt-creator-c5879f843d63c7396f624d78590c43b14403fb7b.tar.gz |
remove bool return value from IRunConfigurationAspect::fromMap
Change-Id: I9f909b2209eaf5e81b1475d87219ae63e2741075
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
Diffstat (limited to 'src/plugins/valgrind/valgrindsettings.cpp')
-rw-r--r-- | src/plugins/valgrind/valgrindsettings.cpp | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/plugins/valgrind/valgrindsettings.cpp b/src/plugins/valgrind/valgrindsettings.cpp index ea60061115..8cd66310f2 100644 --- a/src/plugins/valgrind/valgrindsettings.cpp +++ b/src/plugins/valgrind/valgrindsettings.cpp @@ -106,7 +106,7 @@ QVariantMap ValgrindBaseSettings::defaults() const return map; } -bool ValgrindBaseSettings::fromMap(const QVariantMap &map) +void ValgrindBaseSettings::fromMap(const QVariantMap &map) { // General setIfPresent(map, QLatin1String(valgrindExeC), &m_valgrindExecutable); @@ -132,7 +132,6 @@ bool ValgrindBaseSettings::fromMap(const QVariantMap &map) &m_visualisationMinimumInclusiveCostRatio); emit changed(); - return true; } QVariantMap ValgrindBaseSettings::toMap() const @@ -311,7 +310,7 @@ QVariantMap ValgrindGlobalSettings::defaults() const return map; } -bool ValgrindGlobalSettings::fromMap(const QVariantMap &map) +void ValgrindGlobalSettings::fromMap(const QVariantMap &map) { ValgrindBaseSettings::fromMap(map); @@ -325,8 +324,6 @@ bool ValgrindGlobalSettings::fromMap(const QVariantMap &map) if (map.contains(QLatin1String(callgrindCostFormatC))) m_costFormat = static_cast<CostDelegate::CostFormat>(map.value(QLatin1String(callgrindCostFormatC)).toInt()); setIfPresent(map, QLatin1String(callgrindCycleDetectionC), &m_detectCycles); - - return true; } QVariantMap ValgrindGlobalSettings::toMap() const @@ -441,15 +438,13 @@ QVariantMap ValgrindProjectSettings::defaults() const return map; } -bool ValgrindProjectSettings::fromMap(const QVariantMap &map) +void ValgrindProjectSettings::fromMap(const QVariantMap &map) { ValgrindBaseSettings::fromMap(map); // Memcheck setIfPresent(map, addedSuppressionFilesC, &m_addedSuppressionFiles); setIfPresent(map, removedSuppressionFilesC, &m_disabledGlobalSuppressionFiles); - - return true; } QVariantMap ValgrindProjectSettings::toMap() const |