[Kstars-devel] KDE/kdeedu/kstars/kstars

Jason Harris kstars at 30doradus.org
Fri May 23 04:47:19 CEST 2008


SVN commit 811449 by harris:

Wel, that wasn't so hard after all.  KStars no longer exits when 
starting up below the horizon.  I simply moved "show()" so it came 
before initFocus().  As a bonus, the user will now see the below-horizon 
view rendered before the message box appears, so they can make a more 
informed decision about resetting or not...

CCMAIL: kstars-devel at kde.org



 M  +3 -3      kstarsinit.cpp  


--- trunk/KDE/kdeedu/kstars/kstars/kstarsinit.cpp #811448:811449
@@ -613,15 +613,15 @@
     //Propagate config settings
     applyConfig( false );
 
+    //show the window.  must be before kswizard and messageboxes
+    show();
+
     //Initialize focus
     initFocus();
 
     data()->setFullTimeUpdate();
     updateTime();
 
-    //show the window.  must be before kswizard and messageboxes
-    show();
-
     //If this is the first startup, show the wizard
     if ( Options::runStartupWizard() ) {
         slotWizard();


More information about the Kstars-devel mailing list