summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkarsh Simha <akarsh@kde.org>2016-09-30 10:18:51 (GMT)
committerAkarsh Simha <akarsh@kde.org>2016-09-30 10:18:51 (GMT)
commit4d0ae872e95efb865423d0f4b48b74686a938373 (patch)
tree78f8c6996531d053c60ac330152e4b63068c014a
parent765ac46acc4aad48d18ebbfeb19dae5378561ba5 (diff)
Fix headers <---> items in Observation Planner
The extra name column offset everything.
-rw-r--r--kstars/tools/observinglist.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/kstars/tools/observinglist.cpp b/kstars/tools/observinglist.cpp
index 13fe0ba..ed8e708 100644
--- a/kstars/tools/observinglist.cpp
+++ b/kstars/tools/observinglist.cpp
@@ -307,7 +307,6 @@ void ObservingList::slotAddObject( SkyObject *obj, bool session, bool update ) {
QStandardItem *keyItem = new QStandardItem( finalObjectName );
keyItem->setData( QVariant::fromValue<void *>( static_cast<void *>( obj ) ), Qt::UserRole );
itemList << keyItem // NOTE: The rest of the methods assume that the SkyObject pointer is available in the first column!
- << new QStandardItem( finalObjectName )
<< new QStandardItem( obj->translatedLongName() )
<< new QStandardItem( p.ra().toHMSString() )
<< new QStandardItem( p.dec().toDMSString() )