update linux deploy script & fix warnings

This commit is contained in:
uncor3
2026-01-20 00:11:59 +00:00
parent 2102e6d072
commit d8325c0223
18 changed files with 118 additions and 44 deletions
+7 -1
View File
@@ -32,8 +32,14 @@ BatteryWidget::BatteryWidget(float value, bool isCharging, QWidget *parent)
{
setMinimumSize(30, 30);
setMaximumSize(40, 40);
}
connect(qApp, &QApplication::paletteChanged, this, [this]() { update(); });
void BatteryWidget::changeEvent(QEvent *event)
{
if (event->type() == QEvent::PaletteChange) {
update();
}
QWidget::changeEvent(event);
}
void BatteryWidget::resizeEvent(QResizeEvent *)