From d0881f55420062f6898a091090935307c80b617b Mon Sep 17 00:00:00 2001 From: hjk Date: Mon, 22 May 2023 08:15:05 +0200 Subject: [PATCH] Utils: Remove a unused aspect ctor parameters Change-Id: I6e3c6ce7b04a7817f35da10f1975ae2fec62b9e4 Reviewed-by: Christian Stenger --- src/libs/utils/aspects.cpp | 3 +-- src/libs/utils/aspects.h | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/libs/utils/aspects.cpp b/src/libs/utils/aspects.cpp index e96014eba14..613a5561ea9 100644 --- a/src/libs/utils/aspects.cpp +++ b/src/libs/utils/aspects.cpp @@ -1426,11 +1426,10 @@ void ColorAspect::setVolatileValue(const QVariant &val) */ -BoolAspect::BoolAspect(const QString &settingsKey) +BoolAspect::BoolAspect() : d(new Internal::BoolAspectPrivate) { setDefaultValue(false); - setSettingsKey(settingsKey); setSpan(2, 1); addDataExtractor(this, &BoolAspect::value, &Data::value); diff --git a/src/libs/utils/aspects.h b/src/libs/utils/aspects.h index 1086c7445b6..ecfc9ee86bf 100644 --- a/src/libs/utils/aspects.h +++ b/src/libs/utils/aspects.h @@ -213,7 +213,7 @@ class QTCREATOR_UTILS_EXPORT BoolAspect : public BaseAspect Q_OBJECT public: - explicit BoolAspect(const QString &settingsKey = QString()); + BoolAspect(); ~BoolAspect() override; struct Data : BaseAspect::Data