forked from qt-creator/qt-creator
cleanup code and follow coding style
Merge-request: 265 Reviewed-by: hjk <qtc-committer@nokia.com>
This commit is contained in:
@@ -110,7 +110,7 @@ QStringList MemcheckEngine::suppressionFiles() const
|
|||||||
return m_settings->subConfig<AbstractMemcheckSettings>()->suppressionFiles();
|
return m_settings->subConfig<AbstractMemcheckSettings>()->suppressionFiles();
|
||||||
}
|
}
|
||||||
|
|
||||||
void MemcheckEngine::status(const Valgrind::XmlProtocol::Status &status)
|
void MemcheckEngine::status(const Status &status)
|
||||||
{
|
{
|
||||||
m_progress->setProgressValue(status.state() + 1);
|
m_progress->setProgressValue(status.state() + 1);
|
||||||
}
|
}
|
||||||
|
@@ -203,8 +203,6 @@ MemcheckGlobalSettings* globalMemcheckSettings()
|
|||||||
|
|
||||||
MemcheckProjectSettings::MemcheckProjectSettings()
|
MemcheckProjectSettings::MemcheckProjectSettings()
|
||||||
{
|
{
|
||||||
// take defaults from global settings
|
|
||||||
fromMap(globalMemcheckSettings()->toMap());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool MemcheckProjectSettings::fromMap(const QVariantMap &map)
|
bool MemcheckProjectSettings::fromMap(const QVariantMap &map)
|
||||||
|
@@ -36,7 +36,7 @@
|
|||||||
#ifndef ANALYZER_INTERNAL_MEMCHECKSETTINGS_H
|
#ifndef ANALYZER_INTERNAL_MEMCHECKSETTINGS_H
|
||||||
#define ANALYZER_INTERNAL_MEMCHECKSETTINGS_H
|
#define ANALYZER_INTERNAL_MEMCHECKSETTINGS_H
|
||||||
|
|
||||||
#include "analyzersettings.h"
|
#include <analyzerbase/analyzersettings.h>
|
||||||
|
|
||||||
namespace Analyzer {
|
namespace Analyzer {
|
||||||
namespace Internal {
|
namespace Internal {
|
||||||
|
@@ -36,7 +36,7 @@
|
|||||||
#ifndef MEMCHECKTOOL_H
|
#ifndef MEMCHECKTOOL_H
|
||||||
#define MEMCHECKTOOL_H
|
#define MEMCHECKTOOL_H
|
||||||
|
|
||||||
#include "ianalyzertool.h"
|
#include <analyzerbase/ianalyzertool.h>
|
||||||
|
|
||||||
#include <QSortFilterProxyModel>
|
#include <QSortFilterProxyModel>
|
||||||
#include <QSharedPointer>
|
#include <QSharedPointer>
|
||||||
|
@@ -37,7 +37,8 @@
|
|||||||
#define VALGRINDENGINE_H
|
#define VALGRINDENGINE_H
|
||||||
|
|
||||||
#include "valgrindtoolbase_global.h"
|
#include "valgrindtoolbase_global.h"
|
||||||
#include "ianalyzerengine.h"
|
|
||||||
|
#include <analyzerbase/ianalyzerengine.h>
|
||||||
|
|
||||||
#include <utils/environment.h>
|
#include <utils/environment.h>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user