Skip to content

Commit e5ddd25

Browse files
MyLeeJiEundeepin-bot[bot]
authored andcommitted
Fix: When the control center opens the disclaimer box, extra icon labels are displayed on the taskbar.
In X11 mode, add the Qt::Tool flag to the window's flags and disable the taskbar display. Log: Fixed the issue of extra icons displayed in the taskbar under X11 by adding the Qt::Tool flag. PMS: fix: 控制中心打开免责声明框时任务栏展示多余图标标签 在X11模式下为窗口标志添加Qt::Tool标志,过滤任务栏显示 Log: 通过添加Qt::Tool标志修复X11下任务栏显示多余标志 PMS: BUG-359493
1 parent da3c139 commit e5ddd25

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dde-license-dialog/src/mainwindow.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ MainWindow::MainWindow(QWidget *parent)
2626
if (bWayland) {
2727
setWindowFlags(windowFlags() | Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint);
2828
} else {
29-
setWindowFlags(windowFlags() | Qt::WindowStaysOnTopHint);
29+
setWindowFlags(windowFlags() | Qt::WindowStaysOnTopHint | Qt::Tool);
3030
}
3131

3232
setAccessibleName("MainWindow");

0 commit comments

Comments
 (0)