disable CJK fix for Qt4 because of application crash
This commit is contained in:
parent
18fe4f6605
commit
6fe55a3402
1 changed files with 2 additions and 0 deletions
2
main.cpp
2
main.cpp
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue