From 8b22d032cdf6dd54cd9a25f647373fae032e97d9 Mon Sep 17 00:00:00 2001 From: xawotihs Date: Sat, 2 Aug 2014 21:05:55 +0200 Subject: [PATCH] Fixed QT version needed for pixelRatio API --- JGE/include/qt/corewrapper.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/JGE/include/qt/corewrapper.h b/JGE/include/qt/corewrapper.h index cd019c6a7..284a878aa 100644 --- a/JGE/include/qt/corewrapper.h +++ b/JGE/include/qt/corewrapper.h @@ -137,14 +137,14 @@ private slots: private: int lastPosx(){ -#if QT_VERSION >= 0x050000 +#if QT_VERSION >= 0x050100 return m_lastPos.x()*devicePixelRatio(); #else return m_lastPos.x(); #endif } int lastPosy(){ -#if QT_VERSION >= 0x050000 +#if QT_VERSION >= 0x050100 return m_lastPos.y()*devicePixelRatio(); #else return m_lastPos.y();