[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: =?utf-8?q?=5Bkstars=5D_kstars=3A_Remove_unsed_parameter?=
From: Khudyakov Alexey <alexey.skladnoy () gmail ! com>
Date: 2011-05-05 12:20:30
Message-ID: 20110505122030.9948EA60BE () git ! kde ! org
[Download RAW message or body]
Git commit 04c55ebf2d5606c1ceaa1b3a55704ede28dd2873 by Khudyakov Alexey.
Committed on 05/05/2011 at 13:08.
Pushed by khudyakov into branch 'master'.
Remove unsed parameter
M +0 -3 kstars/skyglpainter.cpp
http://commits.kde.org/kstars/04c55ebf2d5606c1ceaa1b3a55704ede28dd2873
diff --git a/kstars/skyglpainter.cpp b/kstars/skyglpainter.cpp
index 612a04f..454153a 100644
--- a/kstars/skyglpainter.cpp
+++ b/kstars/skyglpainter.cpp
@@ -160,9 +160,6 @@ bool SkyGLPainter::drawPlanet(KSPlanetBase* planet)
fakeStarSize = qMin(fakeStarSize,20.f);
float size = planet->angSize() * dms::PI * zoom/10800.0;
- float sizemin = 1.0;
- if( planet->name() == "Sun" || planet->name() == "Moon" )
- sizemin = 8.0;
if( size < fakeStarSize || planet->image().isNull() )
{
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic