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

List:       kde-commits
Subject:    [marble] src/plugins/render/measure: compile with clang
From:       Bernhard Beschow <bbeschow () cs ! tu-berlin ! de>
Date:       2012-12-31 18:18:33
Message-ID: 20121231181833.CE73BA60C4 () git ! kde ! org
[Download RAW message or body]

Git commit 3991c2ddb83a762520ff9efa289335cecbf995d8 by Bernhard Beschow.
Committed on 31/12/2012 at 18:44.
Pushed by beschow into branch 'master'.

compile with clang

M  +4    -3    src/plugins/render/measure/MeasureToolPlugin.cpp

http://commits.kde.org/marble/3991c2ddb83a762520ff9efa289335cecbf995d8

diff --git a/src/plugins/render/measure/MeasureToolPlugin.cpp \
b/src/plugins/render/measure/MeasureToolPlugin.cpp index 1ae1599..50eb104 100644
--- a/src/plugins/render/measure/MeasureToolPlugin.cpp
+++ b/src/plugins/render/measure/MeasureToolPlugin.cpp
@@ -26,6 +26,7 @@
 #include "ViewportParams.h"
 
 #include <QtGui/QColor>
+#include <QtGui/QPen>
 #include <QtGui/QPixmap>
 #include <QtGui/QRadialGradient>
 #include <QtGui/QPushButton>
@@ -224,12 +225,12 @@ void MeasureToolPlugin::drawSegments( GeoPainter* painter )
         QLocale::MeasurementSystem measurementSystem;
         measurementSystem = \
MarbleGlobal::getInstance()->locale()->measurementSystem();  
-	QPen shadowPen( QColor( Oxygen::aluminumGray5 ) );
-	shadowPen.setWidthF(4.0);
+        QPen shadowPen( Oxygen::aluminumGray5 );
+        shadowPen.setWidthF(4.0);
         painter->setPen( shadowPen );
         painter->drawPolyline( segment, distanceString, LineCenter );
 
-	QPen linePen;
+        QPen linePen;
 
         if ( measurementSystem == QLocale::MetricSystem ) {
             if ( segmentLength >= 1000.0 ) {


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

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