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();