fix: 修复开启启动器后鼠标再次点击无法关闭启动器的问题

接口调用从Show改成Toggle

Log:
Influence: 从任务栏点击鼠标开启启动器,再次点击鼠标,观察启动器是否收缩
Task: https://pms.uniontech.com/task-view-198183.html
Change-Id: I956270a1f601e913385ee334d4f240bf3f85c349
This commit is contained in:
donghualin 2022-09-28 07:05:04 +00:00
parent 3f4ff0d292
commit ebccd73378

View File

@ -108,7 +108,7 @@ void LauncherItem::mouseReleaseEvent(QMouseEvent *e)
QDBusPendingReply<bool> visibleReply = dbusSender.property("Visible").get();
if (!visibleReply.value())
dbusSender.method("Show").call();
dbusSender.method("Toggle").call();
}
QWidget *LauncherItem::popupTips()