Commit c455f8d4 authored by Scott Wheeler's avatar Scott Wheeler

Make the splash screen work again. isVisible() strangely doesn't return

true before the widget is visible.  ;-)

svn path=/trunk/kdemultimedia/juk/; revision=247269
parent c46cc307
...@@ -47,7 +47,7 @@ JuK::JuK(QWidget *parent, const char *name) : ...@@ -47,7 +47,7 @@ JuK::JuK(QWidget *parent, const char *name) :
readSettings(); readSettings();
if(m_showSplash && isVisible()) { if(m_showSplash && !m_startDocked) {
SplashScreen::instance()->show(); SplashScreen::instance()->show();
kapp->processEvents(); kapp->processEvents();
} }
...@@ -589,6 +589,7 @@ void JuK::readSettings() ...@@ -589,6 +589,7 @@ void JuK::readSettings()
{ // general settings { // general settings
KConfigGroupSaver saver(config, "Settings"); KConfigGroupSaver saver(config, "Settings");
m_showSplash = config->readBoolEntry("ShowSplashScreen", true); m_showSplash = config->readBoolEntry("ShowSplashScreen", true);
m_startDocked = config->readBoolEntry("StartDocked", false);
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment