mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 17:33:05 +00:00
fixed:update launch speed
更改启动速度
This commit is contained in:
parent
e124fccdb0
commit
b223de279b
@ -295,14 +295,15 @@ MainWindow::~MainWindow()
|
||||
void MainWindow::launch()
|
||||
{
|
||||
setVisible(false);
|
||||
QTimer::singleShot(400, this, [&] {
|
||||
m_launched = true;
|
||||
qApp->processEvents();
|
||||
QWidget::move(m_settings->windowRect(m_curDockPos).topLeft());
|
||||
m_launched = true;
|
||||
qApp->processEvents();
|
||||
QWidget::move(m_settings->windowRect(m_curDockPos).topLeft());
|
||||
updatePanelVisible();
|
||||
|
||||
QTimer::singleShot(200, this, [&] {
|
||||
setVisible(true);
|
||||
updatePanelVisible();
|
||||
expand();
|
||||
resetPanelEnvironment(false);
|
||||
expand();
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user