mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-04-24 15:37:23 +00:00
fix: disable tooltip painting for now, because it causes error during
png rendering in qt
This commit is contained in:
parent
ee7bd90aae
commit
e3d24d1890
@ -130,7 +130,7 @@ PlasmoidItem {
|
|||||||
Plasmoid.userConfiguringChanged(false)
|
Plasmoid.userConfiguringChanged(false)
|
||||||
// connect data
|
// connect data
|
||||||
awKeys.needTextToBeUpdated.connect(needTextUpdate)
|
awKeys.needTextToBeUpdated.connect(needTextUpdate)
|
||||||
awKeys.needToolTipToBeUpdated.connect(needToolTipUpdate)
|
//awKeys.needToolTipToBeUpdated.connect(needToolTipUpdate)
|
||||||
// check updates if required
|
// check updates if required
|
||||||
if (plasmoid.configuration.checkUpdates) return awActions.checkUpdates(false)
|
if (plasmoid.configuration.checkUpdates) return awActions.checkUpdates(false)
|
||||||
}
|
}
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <QObject>
|
|
||||||
#include <QVariant>
|
#include <QVariant>
|
||||||
|
|
||||||
|
|
||||||
|
@ -436,7 +436,7 @@ int GraphicalItem::showConfiguration(QWidget *_parent, const QVariant &_args)
|
|||||||
auto ui = new Ui::GraphicalItem();
|
auto ui = new Ui::GraphicalItem();
|
||||||
ui->setupUi(dialog);
|
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->comboBox_type, &QComboBox::currentIndexChanged, [ui](const int state) { changeCountState(ui, state); });
|
||||||
connect(ui->toolButton_activeColor, &QToolButton::clicked, [this, ui]() { changeColor(ui); });
|
connect(ui->toolButton_activeColor, &QToolButton::clicked, [this, ui]() { changeColor(ui); });
|
||||||
connect(ui->toolButton_inactiveColor, &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
|
// update UI
|
||||||
emit(ui->comboBox_type->currentIndexChanged(ui->comboBox_type->currentIndex()));
|
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();
|
int ret = dialog->exec();
|
||||||
if (ret == 1) {
|
if (ret == 1) {
|
||||||
|
Loading…
Reference in New Issue
Block a user