delete error code
This commit is contained in:
parent
20d412d424
commit
5ab8cffabb
|
@ -62,10 +62,6 @@ powerwindow::powerwindow(QWidget *parent) : QWidget(parent)
|
|||
});
|
||||
qDebug()<<" notification init end";
|
||||
|
||||
// QDBusConnection::sessionBus().connect(
|
||||
// QString(), "/", "org.ukui.upower", "LowBatteryState", this, SLOT(lowBatteryNotify()));
|
||||
// QDBusConnection::sessionBus().connect(
|
||||
// QString(), "/", "org.ukui.upower", "VeryLowBatteryState", this, SLOT(criticalBatteryNotify()));
|
||||
qDebug()<<"upower init";
|
||||
QDBusConnection::sessionBus().connect(
|
||||
QString(), "/", "org.ukui.upower", "PowerState", this, SLOT(chargeNotify(bool)));
|
||||
|
|
Loading…
Reference in New Issue