[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdeedu/kstars/kstars/tools
From:       Akarsh Simha <akarshsimha () gmail ! com>
Date:       2008-07-02 6:49:38
Message-ID: 1214981378.063475.4947.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 827037 by asimha:

Show the wait cursor while computing conjunctions.

Thanks for the pointers, Jason.

CCMAIL: kstars-devel@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;
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic