Valgrind: Always use global settings if no project is loaded

Change-Id: Id52ec4fff052cbbafef1c83c1a864e259c55b148
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
hjk
2016-02-29 12:48:58 +01:00
parent 5a04c8b06a
commit 9c7146a881

View File

@@ -181,7 +181,7 @@ static void initKindFilterAction(QAction *action, const QVariantList &kinds)
MemcheckTool::MemcheckTool(QObject *parent)
: QObject(parent)
{
m_settings = 0;
m_settings = ValgrindPlugin::globalSettings();
m_errorModel = 0;
m_errorProxyModel = 0;
m_errorView = 0;