From c455f8d4cd55f72da0fabee5d1714ddf55f20636 Mon Sep 17 00:00:00 2001 From: Scott Wheeler Date: Sun, 31 Aug 2003 17:50:27 +0000 Subject: [PATCH] Make the splash screen work again. isVisible() strangely doesn't return true before the widget is visible. ;-) svn path=/trunk/kdemultimedia/juk/; revision=247269 --- juk.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/juk.cpp b/juk.cpp index a6ade208..a8c170a2 100644 --- a/juk.cpp +++ b/juk.cpp @@ -47,7 +47,7 @@ JuK::JuK(QWidget *parent, const char *name) : readSettings(); - if(m_showSplash && isVisible()) { + if(m_showSplash && !m_startDocked) { SplashScreen::instance()->show(); kapp->processEvents(); } @@ -589,6 +589,7 @@ void JuK::readSettings() { // general settings KConfigGroupSaver saver(config, "Settings"); m_showSplash = config->readBoolEntry("ShowSplashScreen", true); + m_startDocked = config->readBoolEntry("StartDocked", false); } } -- GitLab