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:
@@ -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 )
|
||||
|
@@ -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;
|
||||
};
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user