From 5fa7b60b9733ee892648212941ed69450c1616ec Mon Sep 17 00:00:00 2001 From: hjk Date: Thu, 8 Aug 2013 17:37:37 +0200 Subject: Analyzer: Cleanup settings handling More flexible, less over-engineered this way. Change-Id: I3e224a6be85d3a187056d79fd506e8cf6a32c8a9 Reviewed-by: Daniel Teske --- src/plugins/valgrind/memcheckerrorview.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/plugins/valgrind/memcheckerrorview.h') diff --git a/src/plugins/valgrind/memcheckerrorview.h b/src/plugins/valgrind/memcheckerrorview.h index 3ba9c84def..24ce06c859 100644 --- a/src/plugins/valgrind/memcheckerrorview.h +++ b/src/plugins/valgrind/memcheckerrorview.h @@ -33,11 +33,11 @@ #include -namespace Analyzer { class AnalyzerSettings; } - namespace Valgrind { namespace Internal { +class ValgrindBaseSettings; + class MemcheckErrorView : public QListView { Q_OBJECT @@ -52,10 +52,10 @@ public: void setDefaultSuppressionFile(const QString &suppFile); QString defaultSuppressionFile() const; - Analyzer::AnalyzerSettings *settings() const { return m_settings; } + ValgrindBaseSettings *settings() const { return m_settings; } public slots: - void settingsChanged(Analyzer::AnalyzerSettings *settings); + void settingsChanged(ValgrindBaseSettings *settings); void goNext(); void goBack(); @@ -75,7 +75,7 @@ private: QAction *m_copyAction; QAction *m_suppressAction; QString m_defaultSuppFile; - Analyzer::AnalyzerSettings *m_settings; + ValgrindBaseSettings *m_settings; }; } // namespace Internal -- cgit v1.2.1