1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-19 23:39:42 +01:00

Merge pull request #223 from krf/arm-fixes

Compile fix for ARM
This commit is contained in:
Teo Mrnjavac 2014-03-25 16:22:08 +01:00
commit cf075a6d1a

View File

@ -180,7 +180,7 @@ DpiScaler::ratioFromFontHeight()
qreal baseFontHeight = baseFontSize * basePpp; //we assume a minimum font size of 7pt
qreal ratioFromFontHeights = qMax( fH / baseFontHeight, 1. );
qreal ratioFromFontHeights = qMax( fH / baseFontHeight, static_cast<qreal>(1.) );
return ratioFromFontHeights;
}