summaryrefslogtreecommitdiff
path: root/misc/celestia/patches/patch-ac
blob: 0f33db57dbbb04e47bcfd4a93a1bcc2bd45473c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
$NetBSD: patch-ac,v 1.3 2004/11/16 14:34:39 adam Exp $

--- src/celestia/kde/celestialbrowser.cpp.orig	2004-11-15 17:03:29.000000000 +0000
+++ src/celestia/kde/celestialbrowser.cpp
@@ -138,7 +138,7 @@ void CelestialBrowser::slotRefresh()
         QString starClass(buf);
 
         CelListViewItem *starItem = new CelListViewItem(listStars, QString(name),
-                                    QString::fromUtf8(ReplaceGreekLetterAbbr(name).c_str()), dist, appMag, absMag, starClass);
+                                    QString(name), dist, appMag, absMag, starClass);
         
         SolarSystemCatalog::iterator iter = solarSystemCatalog->find(star->getCatalogNumber());
         if (iter != solarSystemCatalog->end())
@@ -156,7 +156,7 @@ void CelestialBrowser::slotRefresh()
                 sprintf(buf, " %.2f au", starBodyDist / KM_PER_AU);
                 QString distStarBody(buf);
                                                                              
-                CelListViewItem *planetItem = new CelListViewItem(starItem, QString(body->getName()), 
+                CelListViewItem *planetItem = new CelListViewItem(starItem, QString(body->getName().c_str()), 
                                             QString::fromUtf8(body->getName().c_str()),
                                             distStarBody, "", "", getClassification(body->getClassification()));
                 
@@ -173,7 +173,7 @@ void CelestialBrowser::slotRefresh()
                                 sprintf(buf, " %.0f km", bodySatDist);
                                 QString distBodySat(buf);
                                 
-                                new CelListViewItem(planetItem, QString(sat->getName()),
+                                new CelListViewItem(planetItem, QString(sat->getName().c_str()),
                                     QString::fromUtf8(sat->getName().c_str()),
                                     distBodySat, "", "", getClassification(sat->getClassification()));