fixed:update launch speed

更改启动速度
This commit is contained in:
shaojun 2019-12-25 13:06:28 +08:00
parent e124fccdb0
commit b223de279b

View File

@ -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();
});
}