[Marble-commits] KDE/kdeedu/marble/src

Bernhard Beschow bbeschow at cs.tu-berlin.de
Fri Dec 10 13:30:29 CET 2010


SVN commit 1205199 by beschow:

fix MarbleTest (--timedemo) to deliver sane results

 M  +4 -4      MarbleTest.cpp  


--- trunk/KDE/kdeedu/marble/src/MarbleTest.cpp #1205198:1205199
@@ -51,11 +51,11 @@
 */
 
         for ( int k = 0; k < 10; ++k ) {
-            m_marbleWidget->moveRight();
+            m_marbleWidget->moveRight( Instant );
             QCoreApplication::flush();
         }
         for ( int k = 0; k < 10; ++k ) {
-            m_marbleWidget->moveLeft();
+            m_marbleWidget->moveLeft( Instant );
             QCoreApplication::flush();
         }
 
@@ -65,11 +65,11 @@
 
     for ( int j = 0; j < 10; ++j ) {
         for ( int k = 0; k < 10; ++k ) {
-            m_marbleWidget->moveRight();
+            m_marbleWidget->moveRight( Instant );
             QCoreApplication::flush();
         }
         for ( int k = 0; k < 10; ++k ) {
-            m_marbleWidget->moveLeft();
+            m_marbleWidget->moveLeft( Instant );
             QCoreApplication::flush();
         }
     }


More information about the Marble-commits mailing list