mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
* GuiView: Make use of the default settings WRT last window closed and app quiting.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23276 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
7ca1eacac1
commit
b39e9e6c8e
@ -290,9 +290,9 @@ GuiView::GuiView(int id)
|
|||||||
connect(&d.statusbar_timer_, SIGNAL(timeout()),
|
connect(&d.statusbar_timer_, SIGNAL(timeout()),
|
||||||
this, SLOT(clearMessage()));
|
this, SLOT(clearMessage()));
|
||||||
|
|
||||||
// Qt bug? signal lastWindowClosed does not work
|
// We don't want to keep the window in memory if it is closed.
|
||||||
setAttribute(Qt::WA_QuitOnClose, false);
|
setAttribute(Qt::WA_QuitOnClose, false);
|
||||||
setAttribute(Qt::WA_DeleteOnClose, true);
|
|
||||||
#ifndef Q_WS_MACX
|
#ifndef Q_WS_MACX
|
||||||
// assign an icon to main form. We do not do it under Qt/Mac,
|
// assign an icon to main form. We do not do it under Qt/Mac,
|
||||||
// since the icon is provided in the application bundle.
|
// since the icon is provided in the application bundle.
|
||||||
|
Loading…
Reference in New Issue
Block a user