[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/workspace/kstyles/oxygen
From: Marco Martin <notmart () gmail ! com>
Date: 2010-11-26 13:55:27
Message-ID: 20101126135527.10622AC8A2 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1201005 by mart:
fix arm build
M +2 -2 oxygenstyle.cpp
--- trunk/KDE/kdebase/workspace/kstyles/oxygen/oxygenstyle.cpp #1201004:1201005
@@ -4789,7 +4789,7 @@
//Calculate width fraction
qreal widthFrac( busyIndicator ? ProgressBar_BusyIndicatorSize/100.0 : progress/steps );
- widthFrac = qMin( 1.0, widthFrac );
+ widthFrac = qMin( (qreal)1.0, widthFrac );
// And now the pixel width
const int indicatorSize( widthFrac*( horizontal ? r.width():r.height() ) );
@@ -4888,7 +4888,7 @@
int indicatorSize( 0 );
if( !busyIndicator )
{
- const qreal widthFrac = qMin( 1.0, progress / steps );
+ const qreal widthFrac = qMin( (qreal)1.0, progress / steps );
indicatorSize = widthFrac*( horizontal ? r.width() : r.height() );
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic