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

List:       kde-commits
Subject:    [marble/esasocis-2012-eclipse] src/plugins/render/eclipses: EclipsesPlugin: Jump to eclipse's maximu
From:       Rene Kuettner <rene () bitkanal ! net>
Date:       2013-01-17 18:29:09
Message-ID: 20130117182909.5A411A60C8 () git ! kde ! org
[Download RAW message or body]

Git commit 3f0a2c8e272276ff733e34cd7ac0003de29152e4 by Rene Kuettner.
Committed on 17/01/2013 at 18:10.
Pushed by renek into branch 'esasocis-2012-eclipse'.

EclipsesPlugin: Jump to eclipse's maximum

M  +1    -1    src/plugins/render/eclipses/EclipsesPlugin.cpp

http://commits.kde.org/marble/3f0a2c8e272276ff733e34cd7ac0003de29152e4

diff --git a/src/plugins/render/eclipses/EclipsesPlugin.cpp b/src/plugins/r=
ender/eclipses/EclipsesPlugin.cpp
index 8156b00..23ca336 100644
--- a/src/plugins/render/eclipses/EclipsesPlugin.cpp
+++ b/src/plugins/render/eclipses/EclipsesPlugin.cpp
@@ -393,7 +393,7 @@ void EclipsesPlugin::showEclipse( int year, int index )
 =

     if( item ) {
         Q_ASSERT( m_clock );
-        m_clock->setDateTime( item->startDatePartial() );
+        m_clock->setDateTime( item->dateMaximum() );
         m_marbleWidget->centerOn( item->maxLocation() );
     }
 }

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

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