disable CJK fix for Qt4 because of application crash

This commit is contained in:
Rafael 2016-07-22 01:22:08 +02:00
parent 18fe4f6605
commit 6fe55a3402

View file

@ -53,6 +53,7 @@ int main(int argc, char *argv[])
a.setApplicationVersion(GTA5SYNC_APPVER); a.setApplicationVersion(GTA5SYNC_APPVER);
#ifdef GTA5SYNC_WIN #ifdef GTA5SYNC_WIN
#if QT_VERSION >= 0x050000
// Get Windows Font // Get Windows Font
NONCLIENTMETRICS ncm; NONCLIENTMETRICS ncm;
ncm.cbSize = sizeof(ncm); ncm.cbSize = sizeof(ncm);
@ -67,6 +68,7 @@ int main(int argc, char *argv[])
// Set Application Font // Set Application Font
QFont appFont(uiFontStr, 9); QFont appFont(uiFontStr, 9);
a.setFont(appFont); a.setFont(appFont);
#endif
#endif #endif
QString pluginsDir = AppEnv::getPluginsFolder(); QString pluginsDir = AppEnv::getPluginsFolder();