GuiView ctor: wrong property!

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23279 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2008-02-27 11:56:36 +00:00
parent 3ab0bcbf12
commit 3128c45b24

View File

@ -291,7 +291,7 @@ GuiView::GuiView(int id)
this, SLOT(clearMessage())); this, SLOT(clearMessage()));
// We don't want to keep the window in memory if it is closed. // We don't want to keep the window in memory if it is closed.
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,