[Kstars-devel] KDE/kdeedu/kstars/kstars/tools
Akarsh Simha
akarshsimha at gmail.com
Tue Dec 16 20:49:46 CET 2008
SVN commit 897772 by asimha:
Fixing crash upon invocation of the Script Builder. The crash was
because the creation of opsLimit was accidentally commented.
Also commenting out unimplemented functions magLimitDrawDeepSky and
magLimitDrawDeepSkyZoomOut
CCMAIL: kstars-devel at kde.org
M +7 -1 scriptbuilder.cpp
--- trunk/KDE/kdeedu/kstars/kstars/tools/scriptbuilder.cpp #897771:897772
@@ -867,8 +867,9 @@
argChangeViewOption->OptionName->addItem( "AnimateSlewing" );
argChangeViewOption->OptionName->addItem( "FadePlanetTrails" );
+
+ opsLimit = new QTreeWidgetItem( otv->optionsList(), QStringList(i18n( "Limits" )) );
/*
- opsLimit = new QTreeWidgetItem( otv->optionsList(), QStringList(i18n( "Limits" )) );
fields << "magLimitDrawStar" << i18n( "magnitude of faintest star drawn on map when zoomed in" ) << i18n( "double" );
new QTreeWidgetItem( opsLimit, fields );
fields.clear();
@@ -876,12 +877,17 @@
new QTreeWidgetItem( opsLimit, fields );
fields.clear();
*/
+
+ // TODO: We have disabled the following two features. Enable them when feasible...
+ /*
fields << "magLimitDrawDeepSky" << i18n( "magnitude of faintest nonstellar object drawn on map when zoomed in" ) << i18n( "double" );
new QTreeWidgetItem( opsLimit, fields );
fields.clear();
fields << "magLimitDrawDeepSkyZoomOut" << i18n( "magnitude of faintest nonstellar object drawn on map when zoomed out" ) << i18n( "double" );
new QTreeWidgetItem( opsLimit, fields );
fields.clear();
+ */
+
//FIXME: This description is incorrect! Fix after strings freeze
fields << "starLabelDensity" << i18n( "magnitude of faintest star labeled on map" ) << i18n( "double" );
new QTreeWidgetItem( opsLimit, fields );
More information about the Kstars-devel
mailing list