diff --git a/UI/qt-wrappers.hpp b/UI/qt-wrappers.hpp index 89948df06..2ca6ff318 100644 --- a/UI/qt-wrappers.hpp +++ b/UI/qt-wrappers.hpp @@ -28,12 +28,7 @@ #include #include -#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0) #define QT_UTF8(str) QString::fromUtf8(str, -1) -#else -#define QT_UTF8(str) QString::fromUtf8(str) -#endif - #define QT_TO_UTF8(str) str.toUtf8().constData() class QDataStream;