mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 10:18:50 +00:00
Comment out setQuitOnLastWindowClosed() call.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23277 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
b39e9e6c8e
commit
1d163f25d9
@ -139,8 +139,13 @@ GuiApplication::GuiApplication(int & argc, char ** argv)
|
||||
QCoreApplication::setOrganizationDomain("lyx.org");
|
||||
QCoreApplication::setApplicationName(app_name + "-" + lyx_version);
|
||||
|
||||
// Qt bug? setQuitOnLastWindowClosed(true); does not work
|
||||
setQuitOnLastWindowClosed(false);
|
||||
//FIXME: quitOnLastWindowClosed is true by default, at least on Windows and
|
||||
// X11 platform. We should have a setting for this in order to let the
|
||||
// application to stay resident.
|
||||
/*
|
||||
if (lyxrc.quit_on_last_window_closed)
|
||||
setQuitOnLastWindowClosed(false);
|
||||
*/
|
||||
|
||||
#ifdef Q_WS_X11
|
||||
// doubleClickInterval() is 400 ms on X11 which is just too long.
|
||||
|
Loading…
Reference in New Issue
Block a user