forked from qt-creator/qt-creator
Utils: Remove a unused aspect ctor parameters
Change-Id: I6e3c6ce7b04a7817f35da10f1975ae2fec62b9e4 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -1426,11 +1426,10 @@ void ColorAspect::setVolatileValue(const QVariant &val)
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
BoolAspect::BoolAspect(const QString &settingsKey)
|
BoolAspect::BoolAspect()
|
||||||
: d(new Internal::BoolAspectPrivate)
|
: d(new Internal::BoolAspectPrivate)
|
||||||
{
|
{
|
||||||
setDefaultValue(false);
|
setDefaultValue(false);
|
||||||
setSettingsKey(settingsKey);
|
|
||||||
setSpan(2, 1);
|
setSpan(2, 1);
|
||||||
|
|
||||||
addDataExtractor(this, &BoolAspect::value, &Data::value);
|
addDataExtractor(this, &BoolAspect::value, &Data::value);
|
||||||
|
@@ -213,7 +213,7 @@ class QTCREATOR_UTILS_EXPORT BoolAspect : public BaseAspect
|
|||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit BoolAspect(const QString &settingsKey = QString());
|
BoolAspect();
|
||||||
~BoolAspect() override;
|
~BoolAspect() override;
|
||||||
|
|
||||||
struct Data : BaseAspect::Data
|
struct Data : BaseAspect::Data
|
||||||
|
Reference in New Issue
Block a user