forked from qt-creator/qt-creator
ISettingsAspect: consolidate data copying in base implementation
Change-Id: I1eec0f54d05b3f7d8679060faccc14ec8a3777f6 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
@@ -170,7 +170,8 @@ public:
|
||||
QWidget *createConfigWidget(QWidget *parent);
|
||||
void toMap(QVariantMap &map) const;
|
||||
void fromMap(const QVariantMap &map);
|
||||
virtual ISettingsAspect *clone();
|
||||
ISettingsAspect *create() const { return new ValgrindGlobalSettings; }
|
||||
|
||||
|
||||
/*
|
||||
* Global memcheck settings
|
||||
@@ -230,7 +231,7 @@ public:
|
||||
QWidget *createConfigWidget(QWidget *parent);
|
||||
void toMap(QVariantMap &map) const;
|
||||
void fromMap(const QVariantMap &map);
|
||||
virtual ISettingsAspect *clone();
|
||||
ISettingsAspect *create() const { return new ValgrindProjectSettings; }
|
||||
|
||||
/**
|
||||
* Per-project memcheck settings, saves a diff to the global suppression files list
|
||||
|
||||
Reference in New Issue
Block a user