mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 17:33:05 +00:00
fix(tray): cannot click indicator
taskID=5449
This commit is contained in:
parent
861d9bcf8d
commit
e902ba4cc1
@ -187,7 +187,13 @@ void IndicatorTrayPrivate::initDBus(const QString &indicatorName)
|
||||
auto bus = isSystemBus ? QDBusConnection::systemBus() : QDBusConnection::sessionBus();
|
||||
|
||||
QDBusInterface interface(dbusService, dbusPath, dbusInterface, bus);
|
||||
qDebug() << interface.call(methodName, button_index, x, y);
|
||||
QDBusReply<void> reply = interface.call(methodName, button_index, x, y);
|
||||
if (!reply.isValid()) {
|
||||
qDebug() << interface.call(methodName);
|
||||
}
|
||||
else {
|
||||
qDebug() << reply.error();
|
||||
}
|
||||
});
|
||||
t.detach();
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user