[Kstars-devel] kdeedu/kstars/kstars

Jason Harris kstars at 30doradus.org
Tue Jan 11 05:37:51 CET 2005


CVS commit by harris: 

Closing the KStars splashscreen (by clicking on the [X] titlebar button) 
no longer causes a crash.

BUG: 92515
CCMAIL: kstars-devel at kde.org


  M +1 -3      kstarsactions.cpp   1.122


--- kdeedu/kstars/kstars/kstarsactions.cpp  #1.121:1.122
@@ -389,7 +389,5 @@ void KStars::newWindow() {
 
 void KStars::closeWindow() {
-        // since QT 3.1 close() just emits lastWindowClosed if the window is not hidden
-        show();
-        close();
+        QApplication::exit(1);
 }
 




More information about the Kstars-devel mailing list