diff options
author | adam <adam@pkgsrc.org> | 2004-11-16 14:34:39 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2004-11-16 14:34:39 +0000 |
commit | dddcfede55152271c2d8638c9b6aa56151782d99 (patch) | |
tree | 0170da681754e82e4228f8f5f1ed066b1c5a3081 /misc/celestia/patches | |
parent | bcc2feef9159824075f00e47cd2c7df59decf51a (diff) | |
download | pkgsrc-dddcfede55152271c2d8638c9b6aa56151782d99.tar.gz |
Fix for KDE frontend
Diffstat (limited to 'misc/celestia/patches')
-rw-r--r-- | misc/celestia/patches/patch-ac | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/misc/celestia/patches/patch-ac b/misc/celestia/patches/patch-ac new file mode 100644 index 00000000000..0f33db57dbb --- /dev/null +++ b/misc/celestia/patches/patch-ac @@ -0,0 +1,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())); + |