fix(frontend):modify the position of the search's main window on the screen.

This commit is contained in:
JunjieBai 2023-08-25 14:31:51 +08:00 committed by iaom
parent 23da8274e5
commit eeae169c86
1 changed files with 1 additions and 1 deletions

View File

@ -280,7 +280,7 @@ void MainWindow::centerToScreen(QWidget* widget) {
int x = widget->width(); int x = widget->width();
widget->show(); widget->show();
kdk::WindowManager::setGeometry(this->windowHandle(),QRect(desk_x / 2 - x / 2 + desk_rect.left(), 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->width(),
this->height())); this->height()));
//设置跳过多任务视图 //设置跳过多任务视图