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

List:       kde-commits
Subject:    [kstars/gsoc2015-ekos] kstars/tools: Use UTC for DetailDialog
From:       Jasem Mutlaq <mutlaqja () ikarustech ! com>
Date:       2015-08-31 22:02:22
Message-ID: E1ZWX9i-0006og-FB () scm ! kde ! org
[Download RAW message or body]

Git commit 9d1b9d38b09c5b951bcfbed5a2e9e15522d00783 by Jasem Mutlaq.
Committed on 31/08/2015 at 22:00.
Pushed by mutlaqja into branch 'gsoc2015-ekos'.

Use UTC for DetailDialog

M  +1    -1    kstars/tools/starhopperdialog.cpp
M  +1    -1    kstars/tools/wutdialog.cpp

http://commits.kde.org/kstars/9d1b9d38b09c5b951bcfbed5a2e9e15522d00783

diff --git a/kstars/tools/starhopperdialog.cpp b/kstars/tools/starhopperdialog.cpp
index 7799587..65d9c41 100644
--- a/kstars/tools/starhopperdialog.cpp
+++ b/kstars/tools/starhopperdialog.cpp
@@ -101,7 +101,7 @@ void StarHopperDialog::slotGoto() {
 void StarHopperDialog::slotDetails() {
     SkyObject *skyobj = getStarData( m_lw->currentItem() );
     if ( skyobj ) {
-        DetailDialog *detailDialog = new DetailDialog( skyobj, \
KStarsData::Instance()->lt(), KStarsData::Instance()->geo(), KStars::Instance()); +   \
DetailDialog *detailDialog = new DetailDialog( skyobj, KStarsData::Instance()->ut(), \
KStarsData::Instance()->geo(), KStars::Instance());  detailDialog->exec();
         delete detailDialog;
     }
diff --git a/kstars/tools/wutdialog.cpp b/kstars/tools/wutdialog.cpp
index 42b7836..4780723 100644
--- a/kstars/tools/wutdialog.cpp
+++ b/kstars/tools/wutdialog.cpp
@@ -464,7 +464,7 @@ void WUTDialog::slotDetails() {
         o = kstars->data()->objectNamed( \
WUT->ObjectListWidget->currentItem()->text() );  }
     if (o != 0) {
-        QPointer<DetailDialog> detail = new DetailDialog(o, kstars->data()->lt(), \
geo, kstars); +        QPointer<DetailDialog> detail = new DetailDialog(o, \
kstars->data()->ut(), geo, kstars);  detail->exec();
 	delete detail;
     }


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

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