[Kstars-devel] KDE/kdeedu/kstars/kstars
Prakash Mohan
prak902000 at gmail.com
Wed Jul 22 06:40:55 CEST 2009
SVN commit 1000809 by prakash:
Commenting out the unused variables to avoid compiler warning.
CCMAIL: kstars-devel at kde.org
M +1 -1 skycomponents/cometscomponent.cpp
M +3 -3 skycomponents/deepstarcomponent.cpp
M +2 -2 skycomponents/starcomponent.cpp
M +1 -1 skyobjects/kscomet.cpp
M +1 -1 skyobjects/starobject.cpp
--- trunk/KDE/kdeedu/kstars/kstars/skycomponents/cometscomponent.cpp #1000808:1000809
@@ -120,7 +120,7 @@
psky.drawEllipse( QRectF( x1, y1, size, size ) );
}
- float tailsize = com->getTailAngSize().Degrees() * map->scale() * dms::PI * Options::zoomFactor()/10800.0;
+// float tailsize = com->getTailAngSize().Degrees() * map->scale() * dms::PI * Options::zoomFactor()/10800.0;
if ( hideLabels || com->rsun() >= rsunLabelLimit ) continue;
SkyLabeler::AddLabel( o, com, SkyLabeler::COMET_LABEL );
--- trunk/KDE/kdeedu/kstars/kstars/skycomponents/deepstarcomponent.cpp #1000808:1000809
@@ -181,9 +181,9 @@
double hideStarsMag = Options::magLimitHideStar();
//adjust maglimit for ZoomLevel
- double lgmin = log10(MINZOOM);
- double lgmax = log10(MAXZOOM);
- double lgz = log10(Options::zoomFactor());
+// double lgmin = log10(MINZOOM);
+// double lgmax = log10(MAXZOOM);
+// double lgz = log10(Options::zoomFactor());
// TODO: Enable hiding of faint stars
float maglim = sc->zoomMagnitudeLimit();
--- trunk/KDE/kdeedu/kstars/kstars/skycomponents/starcomponent.cpp #1000808:1000809
@@ -206,7 +206,7 @@
const double maxSize = 10.0;
double lgmin = log10(MINZOOM);
- double lgmax = log10(MAXZOOM);
+// double lgmax = log10(MAXZOOM);
double lgz = log10(Options::zoomFactor());
// Old formula:
@@ -236,7 +236,7 @@
//adjust maglimit for ZoomLevel
double lgmin = log10(MINZOOM);
- double lgmax = log10(MAXZOOM);
+// double lgmax = log10(MAXZOOM);
double lgz = log10(Options::zoomFactor());
// Old formula:
--- trunk/KDE/kdeedu/kstars/kstars/skyobjects/kscomet.cpp #1000808:1000809
@@ -27,7 +27,7 @@
KSComet::KSComet( const QString &_s, const QString &imfile,
long double _JD, double _q, double _e, dms _i, dms _w, dms _Node, double Tp, float _H, float _G )
: KSPlanetBase(_s, imfile),
- JD(_JD), q(_q), e(_e), i(_i), w(_w), N(_Node), H(_H), G(_G)
+ JD(_JD), q(_q), e(_e), H(_H), G(_G), i(_i), w(_w), N(_Node)
{
setType( 9 ); //Comet
--- trunk/KDE/kdeedu/kstars/kstars/skyobjects/starobject.cpp #1000808:1000809
@@ -577,7 +577,7 @@
}
void StarObject::draw( QPainter &psky, float x, float y, float size,
- bool useRealColors, int scIntensity, bool /*showMultiple*/ ) {
+ bool /*useRealColors*/, int /*scIntensity*/, bool /*showMultiple*/ ) {
int isize = int(size);
if ( isize >= 14 ) {
More information about the Kstars-devel
mailing list