From a5b66d297f2e9fdfe544e874eb6f908851925d34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20K=C3=BCmmel?= Date: Sun, 3 Dec 2006 10:30:18 +0000 Subject: [PATCH] prepare fixing some memory leaks git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16155 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiView.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontends/qt4/GuiView.C b/src/frontends/qt4/GuiView.C index 6157421f45..2615e34462 100644 --- a/src/frontends/qt4/GuiView.C +++ b/src/frontends/qt4/GuiView.C @@ -159,7 +159,7 @@ GuiView::GuiView(int id) setAttribute(Qt::WA_QuitOnClose, false); // FIXME: the following statement avoids memory leaks but produces a // crash after a new window has been closed (click into the menu) - //setAttribute(Qt::WA_DeleteOnClose, false); + //setAttribute(Qt::WA_DeleteOnClose, true); // hardcode here the platform specific icon size d.smallIconSize = 14; // scaling problems