From d3375fa031d68a8aa7b3c755b51cfb444e22d344 Mon Sep 17 00:00:00 2001 From: JunjieBai Date: Fri, 25 Aug 2023 14:31:51 +0800 Subject: [PATCH] fix(frontend):modify the position of the search's main window on the screen. --- frontend/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/mainwindow.cpp b/frontend/mainwindow.cpp index 46e1e1c..b674884 100644 --- a/frontend/mainwindow.cpp +++ b/frontend/mainwindow.cpp @@ -280,7 +280,7 @@ void MainWindow::centerToScreen(QWidget* widget) { int x = widget->width(); widget->show(); kdk::WindowManager::setGeometry(this->windowHandle(),QRect(desk_x / 2 - x / 2 + desk_rect.left(), - desk_y / 3 + desk_rect.top(), + desk_y / 6 + desk_rect.top(), this->width(), this->height())); //设置跳过多任务视图