mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-08 10:51:03 +00:00
we rely on Windows and maybe Linux on a Qt bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15974 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
d32701179e
commit
b817032684
@ -152,7 +152,15 @@ GuiApplication::GuiApplication(int & argc, char ** argv)
|
||||
|
||||
LoaderQueue::setPriority(10,100);
|
||||
|
||||
setQuitOnLastWindowClosed(false);
|
||||
/* Qt Docs:
|
||||
void QApplication::lastWindowClosed () [signal]
|
||||
This signal is emitted from QApplication::exec() when the last visible
|
||||
primary window ... is closed.
|
||||
This feature be turned off by setting quitOnLastWindowClosed to false.
|
||||
*/
|
||||
//setQuitOnLastWindowClosed(false);
|
||||
// this connect should not be necessary:
|
||||
// we rely on a Qt bug on Windows and maybe Linux
|
||||
QObject::connect(this, SIGNAL(lastWindowClosed()),
|
||||
this, SLOT(quitLyX()));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user