diff --git a/sources/awesome-widget/package/contents/ui/main.qml b/sources/awesome-widget/package/contents/ui/main.qml index f0d5356f..28a0e384 100644 --- a/sources/awesome-widget/package/contents/ui/main.qml +++ b/sources/awesome-widget/package/contents/ui/main.qml @@ -130,7 +130,7 @@ PlasmoidItem { Plasmoid.userConfiguringChanged(false) // connect data awKeys.needTextToBeUpdated.connect(needTextUpdate) - awKeys.needToolTipToBeUpdated.connect(needToolTipUpdate) + //awKeys.needToolTipToBeUpdated.connect(needToolTipUpdate) // check updates if required if (plasmoid.configuration.checkUpdates) return awActions.checkUpdates(false) } diff --git a/sources/awesome-widget/plugin/awdataaggregator.h b/sources/awesome-widget/plugin/awdataaggregator.h index 5b126ff8..3afa55bc 100644 --- a/sources/awesome-widget/plugin/awdataaggregator.h +++ b/sources/awesome-widget/plugin/awdataaggregator.h @@ -17,7 +17,6 @@ #pragma once -#include #include diff --git a/sources/awesomewidgets/graphicalitem.cpp b/sources/awesomewidgets/graphicalitem.cpp index 36c180f6..118fc016 100644 --- a/sources/awesomewidgets/graphicalitem.cpp +++ b/sources/awesomewidgets/graphicalitem.cpp @@ -436,7 +436,7 @@ int GraphicalItem::showConfiguration(QWidget *_parent, const QVariant &_args) auto ui = new Ui::GraphicalItem(); ui->setupUi(dialog); - connect(ui->checkBox_custom, &QCheckBox::stateChanged, [ui](const int state) { changeValue(ui, state); }); + connect(ui->checkBox_custom, &QCheckBox::checkStateChanged, [ui](const int state) { changeValue(ui, state); }); connect(ui->comboBox_type, &QComboBox::currentIndexChanged, [ui](const int state) { changeCountState(ui, state); }); connect(ui->toolButton_activeColor, &QToolButton::clicked, [this, ui]() { changeColor(ui); }); connect(ui->toolButton_inactiveColor, &QToolButton::clicked, [this, ui]() { changeColor(ui); }); @@ -472,7 +472,7 @@ int GraphicalItem::showConfiguration(QWidget *_parent, const QVariant &_args) // update UI emit(ui->comboBox_type->currentIndexChanged(ui->comboBox_type->currentIndex())); - emit(ui->checkBox_custom->stateChanged(ui->checkBox_custom->checkState())); + emit(ui->checkBox_custom->checkStateChanged(ui->checkBox_custom->checkState())); int ret = dialog->exec(); if (ret == 1) {