From b02ac589e60c26a81b01a43d43731fe19dcaf8ed Mon Sep 17 00:00:00 2001 From: ck Date: Tue, 26 Mar 2024 17:16:53 +0800 Subject: [PATCH] fix: wine app menu obscured by popup widget remove ToolTip windowflag Issue: https://github.com/linuxdeepin/developer-center/issues/7612 Bug: https://pms.uniontech.com/bug-view-239173.html --- frame/window/tray/widgets/expandiconwidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frame/window/tray/widgets/expandiconwidget.cpp b/frame/window/tray/widgets/expandiconwidget.cpp index 6b31c0020..bdce1a7c6 100644 --- a/frame/window/tray/widgets/expandiconwidget.cpp +++ b/frame/window/tray/widgets/expandiconwidget.cpp @@ -135,7 +135,7 @@ TrayGridWidget *ExpandIconWidget::popupTrayView() TrayModel *trayModel = TrayModel::getIconModel(); gridParentView->setTrayGridView(trayView); - gridParentView->setWindowFlags(Qt::FramelessWindowHint | Qt::ToolTip | Qt::WindowStaysOnTopHint | Qt::WindowDoesNotAcceptFocus); + gridParentView->setWindowFlags(Qt::WindowDoesNotAcceptFocus); trayView->setModel(trayModel); trayView->setItemDelegate(trayDelegate); trayView->setSpacing(ITEM_SPACING);