forked from qt-creator/qt-creator
analyzer: merge valgrind related settings
This mainly reduces the number of tabs in the settings dialog. Change-Id: I62ba5c74585648c8f495602cd4d676d0628de9b5 Reviewed-on: http://codereview.qt.nokia.com/1575 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
#include "ui_suppressiondialog.h"
|
||||
|
||||
#include "memcheckerrorview.h"
|
||||
#include "memchecksettings.h"
|
||||
#include "valgrindsettings.h"
|
||||
|
||||
#include <projectexplorer/projectexplorer.h>
|
||||
#include <projectexplorer/session.h>
|
||||
@@ -206,7 +206,7 @@ void SuppressionDialog::accept()
|
||||
}
|
||||
}
|
||||
|
||||
m_settings->subConfig<AbstractMemcheckSettings>()->addSuppressionFiles(QStringList(path));
|
||||
m_settings->subConfig<ValgrindBaseSettings>()->addSuppressionFiles(QStringList(path));
|
||||
|
||||
QModelIndexList indizes = m_view->selectionModel()->selectedRows();
|
||||
qSort(indizes.begin(), indizes.end(), sortIndizesReverse);
|
||||
|
||||
Reference in New Issue
Block a user