fix(frontend):modify the position of the search's main window on the screen.
This commit is contained in:
parent
23da8274e5
commit
eeae169c86
|
@ -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()));
|
||||
//设置跳过多任务视图
|
||||
|
|
Loading…
Reference in New Issue