mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 11:20:22 +02:00
Compile fix for ARM
This commit is contained in:
@@ -180,7 +180,7 @@ DpiScaler::ratioFromFontHeight()
|
|||||||
|
|
||||||
qreal baseFontHeight = baseFontSize * basePpp; //we assume a minimum font size of 7pt
|
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;
|
return ratioFromFontHeights;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user