1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-12 00:54:20 +02:00

Avoid g++isms

This commit is contained in:
Teo Mrnjavac
2013-08-01 21:36:52 +02:00
parent dd34bf1fff
commit 1575174ab1
2 changed files with 6 additions and 6 deletions

View File

@@ -22,7 +22,11 @@
namespace TomahawkUtils
{
#ifdef Q_OS_MAC
const qreal DpiScaler::s_baseDpi = 72.;
#else
const qreal DpiScaler::s_baseDpi = 96.;
#endif
DpiScaler::DpiScaler( const QPaintDevice* that )
: that( that )

View File

@@ -64,11 +64,7 @@ private:
const QPaintDevice* that;
#ifdef Q_OS_MAC
static const qreal s_baseDpi = 72.;
#else
static const qreal s_baseDpi = 96.;
#endif
static const qreal s_baseDpi;
};
}