fix(主窗口): 每次expose事件时设置窗口类型和跳过任务栏
This commit is contained in:
parent
b40d9e1f4d
commit
6085dd3a47
|
@ -493,11 +493,10 @@ void MenuWindow::exposeEvent(QExposeEvent *event)
|
|||
if (isExposed()) {
|
||||
if (QX11Info::isPlatformX11()) {
|
||||
requestActivate();
|
||||
} else {
|
||||
WindowHelper::setWindowAttribute(this);
|
||||
// WindowHelper::removeHeaderBar(this);
|
||||
updateGeometry();
|
||||
}
|
||||
WindowHelper::setWindowAttribute(this);
|
||||
// WindowHelper::removeHeaderBar(this);
|
||||
updateGeometry();
|
||||
}
|
||||
QQuickView::exposeEvent(event);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue