From 282960528e13c1c79751422e557846e5848344f9 Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Wed, 19 Jun 2024 13:16:22 +0200 Subject: [PATCH] Valgrind: Remove no more needed fix This was needed to fix the handling of the project settings, since 044c1f686cc0b142f7033aba21ce2b26bfe4f008 no more needed. Change-Id: I960078b0ca39739ad566caeba46edf1a5050ebef Reviewed-by: hjk --- src/plugins/valgrind/valgrindsettings.cpp | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/src/plugins/valgrind/valgrindsettings.cpp b/src/plugins/valgrind/valgrindsettings.cpp index 47f45973747..0a92f391d3b 100644 --- a/src/plugins/valgrind/valgrindsettings.cpp +++ b/src/plugins/valgrind/valgrindsettings.cpp @@ -392,19 +392,8 @@ ValgrindSettings::ValgrindSettings(bool global) // clang-format on }); - if (global) { + if (global) 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()