fix bug 143364

This commit is contained in:
zhaoshixu 2022-10-19 10:38:16 +08:00
parent 04b48ec43f
commit 9f584959e6
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,6 @@ void MainWindow::firstlyStart()
initDbusConnnect();
initWindowTheme();
initTrayIcon();
initPlatform();
installEventFilter(this);
m_secondaryStartTimer = new QTimer(this);
connect(m_secondaryStartTimer, &QTimer::timeout, this, [ = ]() {
@ -509,6 +508,7 @@ void MainWindow::showByWaylandHelper()
//去除窗管标题栏传入参数为QWidget*
kdk::UkuiStyleHelper::self()->removeHeader(this);
this->show();
initPlatform();
resetWindowPosition();
//设置窗体位置传入参数为QWindow*QRect