mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-02 15:45:21 +00:00
fix: SNI tray menu unable to click
when first left click SNI tray menu and app without activate to show, will get a dbus error and recall right menu this will case menu unable to click, move recall to another thread log: fix SNI tray menu unable to click
This commit is contained in:
parent
96dcb71fdd
commit
b2efe239b6
@ -168,7 +168,7 @@ void SNITrayItemWidget::sendClick(uint8_t mouseButton, int x, int y)
|
||||
// primarily work for apps using libappindicator.
|
||||
reply.waitForFinished();
|
||||
if (reply.isError()) {
|
||||
showContextMenu(x,y);
|
||||
QMetaObject::invokeMethod(this, "showContextMenu", Q_ARG(int,x), Q_ARG(int, y));
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user