From c5970ae34c81d5a4d8e868afc145352c8a3647ba Mon Sep 17 00:00:00 2001 From: Takahiro Hashimoto Date: Wed, 21 Oct 2015 00:49:14 +0900 Subject: [PATCH] [ksplash] refrect windowState correctly REVIEW: 125727 --- ksplash/ksplashqml/splashapp.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ksplash/ksplashqml/splashapp.cpp b/ksplash/ksplashqml/splashapp.cpp index 8ad4f4d30..8311ada95 100644 --- a/ksplash/ksplashqml/splashapp.cpp +++ b/ksplash/ksplashqml/splashapp.cpp @@ -126,7 +126,7 @@ void SplashApp::adoptScreen(QScreen* screen) SplashWindow *w = new SplashWindow(m_testing, m_window); w->setGeometry(screen->geometry()); w->setStage(m_stage); - w->show(); + w->setVisible(true); m_windows << w; connect(screen, &QScreen::geometryChanged, w, &SplashWindow::setGeometry); @@ -135,4 +135,3 @@ void SplashApp::adoptScreen(QScreen* screen) w->deleteLater(); }); } -