fix(主窗口): 每次expose事件时设置窗口类型和跳过任务栏

This commit is contained in:
hewenfei 2023-08-01 16:41:40 +08:00
parent b40d9e1f4d
commit 6085dd3a47
1 changed files with 3 additions and 4 deletions

View File

@ -493,12 +493,11 @@ void MenuWindow::exposeEvent(QExposeEvent *event)
if (isExposed()) {
if (QX11Info::isPlatformX11()) {
requestActivate();
} else {
}
WindowHelper::setWindowAttribute(this);
// WindowHelper::removeHeaderBar(this);
updateGeometry();
}
}
QQuickView::exposeEvent(event);
}