From 6fe55a3402e089db9781c6aa0ab86a3549819709 Mon Sep 17 00:00:00 2001 From: Rafael Date: Fri, 22 Jul 2016 01:22:08 +0200 Subject: [PATCH] disable CJK fix for Qt4 because of application crash --- main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.cpp b/main.cpp index cdf5536..dc4f4b9 100755 --- a/main.cpp +++ b/main.cpp @@ -53,6 +53,7 @@ int main(int argc, char *argv[]) a.setApplicationVersion(GTA5SYNC_APPVER); #ifdef GTA5SYNC_WIN +#if QT_VERSION >= 0x050000 // Get Windows Font NONCLIENTMETRICS ncm; ncm.cbSize = sizeof(ncm); @@ -67,6 +68,7 @@ int main(int argc, char *argv[]) // Set Application Font QFont appFont(uiFontStr, 9); a.setFont(appFont); +#endif #endif QString pluginsDir = AppEnv::getPluginsFolder();