[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    =?utf-8?q?=5Bkstars=5D_kstars/skyobjects=3A_Remove_message_about?=
From:       Khudyakov Alexey <alexey.skladnoy () gmail ! com>
Date:       2011-04-14 16:14:55
Message-ID: 20110414161455.A4682A60A6 () git ! kde ! org
[Download RAW message or body]

Git commit 49857624ae2286997bfb533111110aeefcdf77dc by Khudyakov Alexey.
Committed on 14/04/2011 at 17:48.
Pushed by khudyakov into branch 'master'.

Remove message about new texture in ksmoon (too verbose)

M  +2    -4    kstars/skyobjects/ksmoon.cpp     

http://commits.kde.org/kstars/49857624ae2286997bfb533111110aeefcdf77dc

diff --git a/kstars/skyobjects/ksmoon.cpp b/kstars/skyobjects/ksmoon.cpp
index b0080d2..a1a5fa1 100644
--- a/kstars/skyobjects/ksmoon.cpp
+++ b/kstars/skyobjects/ksmoon.cpp
@@ -238,10 +238,8 @@ void KSMoon::findPhase() {
     double DegPhase = dms( Phase ).reduce().Degrees();
     iPhase = int( 0.1*DegPhase+0.5 ) % 36; // iPhase must be in [0,36) range
 
-    QString textureName = QString("moon%1").arg(iPhase,2,10,QChar('0'));
-    qDebug() << textureName;
-
-    m_tex = TextureManager::getTexture(textureName);
+    m_tex = TextureManager::getTexture(
+        QString("moon%1").arg(iPhase,2,10,QChar('0')));
 }
 
 QString KSMoon::phaseName() const {


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic