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

Akarsh Simha akarshsimha at gmail.com
Wed Jul 2 08:49:38 CEST 2008


SVN commit 827037 by asimha:

Show the wait cursor while computing conjunctions.

Thanks for the pointers, Jason.

CCMAIL: kstars-devel at kde.org



 M  +3 -0      conjunctions.cpp  


--- trunk/KDE/kdeedu/kstars/kstars/tools/conjunctions.cpp #827036:827037
@@ -101,7 +101,10 @@
   Object2 = createPlanetFromIndex( Obj2ComboBox -> currentIndex() );
   
   KSConjunct ksc;
+
+  QApplication::setOverrideCursor( QCursor(Qt::WaitCursor) );
   showConjunctions(ksc.findClosestApproach(*Object1, *Object2, startJD, stopJD, maxSeparation));
+  QApplication::restoreOverrideCursor();
 
   delete Object1;
   delete Object2;


More information about the Kstars-devel mailing list