forked from qt-creator/qt-creator
Valgrind: Remove no more needed fix
This was needed to fix the handling of the project settings,
since 044c1f686c
no more needed.
Change-Id: I960078b0ca39739ad566caeba46edf1a5050ebef
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -392,19 +392,8 @@ ValgrindSettings::ValgrindSettings(bool global)
|
|||||||
// clang-format on
|
// clang-format on
|
||||||
});
|
});
|
||||||
|
|
||||||
if (global) {
|
if (global)
|
||||||
readSettings();
|
readSettings();
|
||||||
} else {
|
|
||||||
// FIXME: Is this needed?
|
|
||||||
connect(this, &AspectContainer::fromMapFinished, [this] {
|
|
||||||
// FIXME: Update project page e.g. on "Restore Global", aspects
|
|
||||||
// there are 'autoapply', and Aspect::cancel() is normally part of
|
|
||||||
// the 'manual apply' machinery.
|
|
||||||
setAutoApply(false);
|
|
||||||
cancel();
|
|
||||||
setAutoApply(true);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ValgrindSettings &globalSettings()
|
ValgrindSettings &globalSettings()
|
||||||
|
Reference in New Issue
Block a user