summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasem Mutlaq <mutlaqja@ikarustech.com>2016-10-05 13:51:14 (GMT)
committerJasem Mutlaq <mutlaqja@ikarustech.com>2016-10-05 13:51:14 (GMT)
commit82eb8423c9e95f4ff1551a77da7d7161384146b6 (patch)
tree08c1d6f1a4321e7743dcb40b784a51722d7ab606
parente78a098148ae1cdf061cc213adc68503c6f72e7f (diff)
Disabling some icons which are missing
-rw-r--r--kstars/tools/astrocalc.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/kstars/tools/astrocalc.cpp b/kstars/tools/astrocalc.cpp
index 139e49a..2c6cb56 100644
--- a/kstars/tools/astrocalc.cpp
+++ b/kstars/tools/astrocalc.cpp
@@ -143,18 +143,21 @@ AstroCalc::AstroCalc( QWidget* parent ) :
acStack->addWidget( splashScreen );
// Load icons
+ // JM 2016-10-02: Those are missing, disabling the icons for now
+ /*
QIcon jdIcon = QIcon ("jd.png");
QIcon geodIcon = QIcon ("geodetic.png");
QIcon solarIcon = QIcon ("geodetic.png");
// QIcon sunsetIcon = QIcon ("sunset.png"); // Its usage is commented out.
- QIcon timeIcon = QIcon ("sunclock.png");
+ QIcon timeIcon = QIcon ("sunclock.png");*/
/* Populate the tree widget and widget stack */
// Time-related entries
QTreeWidgetItem * timeItem = addTreeTopItem(navigationPanel, i18n("Time Calculators"), messageTime);
- timeItem->setIcon(0,timeIcon);
+ //timeItem->setIcon(0,timeIcon);
- addTreeItem<modCalcJD> (timeItem, i18n("Julian Day"))->setIcon(0,jdIcon);
+ //addTreeItem<modCalcJD> (timeItem, i18n("Julian Day"))->setIcon(0,jdIcon);
+ addTreeItem<modCalcJD> (timeItem, i18n("Julian Day"));
addTreeItem<modCalcSidTime> (timeItem, i18n("Sidereal Time"));
addTreeItem<modCalcDayLength>(timeItem, i18n("Almanac"));
addTreeItem<modCalcEquinox> (timeItem, i18n("Equinoxes & Solstices"));
@@ -172,7 +175,7 @@ AstroCalc::AstroCalc( QWidget* parent ) :
// Solar System related entries
QTreeWidgetItem * solarItem = addTreeTopItem(navigationPanel, i18n("Solar System"), messageSolar);
- solarItem->setIcon(0,solarIcon);
+ //solarItem->setIcon(0,solarIcon);
addTreeItem<modCalcPlanets> (solarItem, i18n("Planets Coordinates"));
addTreeItem<ConjunctionsTool>(solarItem, i18n("Conjunctions"));