mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-12 17:14:00 +02:00
Avoid g++isms
This commit is contained in:
@@ -22,7 +22,11 @@
|
|||||||
|
|
||||||
namespace TomahawkUtils
|
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 )
|
DpiScaler::DpiScaler( const QPaintDevice* that )
|
||||||
: that( that )
|
: that( that )
|
||||||
|
@@ -64,11 +64,7 @@ private:
|
|||||||
|
|
||||||
const QPaintDevice* that;
|
const QPaintDevice* that;
|
||||||
|
|
||||||
#ifdef Q_OS_MAC
|
static const qreal s_baseDpi;
|
||||||
static const qreal s_baseDpi = 72.;
|
|
||||||
#else
|
|
||||||
static const qreal s_baseDpi = 96.;
|
|
||||||
#endif
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user