mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 03:03:06 +00:00
Fix Windows crash on exit with "static LQApplication"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14055 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
f8c24b0293
commit
a9390a6b8d
@ -167,7 +167,11 @@ void exec(int & argc, char * argv[])
|
||||
// Force adding of font path _before_ QApplication is initialized
|
||||
FontLoader::initFontPath();
|
||||
|
||||
#ifdef Q_WS_WIN
|
||||
static LQApplication app(argc, argv);
|
||||
#else
|
||||
LQApplication app(argc, argv);
|
||||
#endif
|
||||
|
||||
// install translation file for Qt built-in dialogs
|
||||
// These are only installed since Qt 3.2.x
|
||||
|
Loading…
Reference in New Issue
Block a user