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

List:       kde-commits
Subject:    kdereview/plasma/applets/systemloadviewer
From:       Dominik Haumann <dhdev () gmx ! de>
Date:       2009-01-15 19:48:20
Message-ID: 1232048900.959371.16848.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 911629 by dhaumann:

fix cast: qreal instead of double

 M  +1 -1      systemloadviewer.cpp  


--- trunk/kdereview/plasma/applets/systemloadviewer/systemloadviewer.cpp #911628:911629
@@ -530,7 +530,7 @@
         rotatedContentsRect.setHeight(contentsRect.width());
     }
 
-    const qreal barWidth = rotatedContentsRect.width() / static_cast<double>(barCount());
+    const qreal barWidth = rotatedContentsRect.width() / static_cast<qreal>(barCount());
 
     rotatedContentsRect.setWidth(barWidth);
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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