From 4441cd8a4a3a01a015d899deb29d9185608e640e Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Thu, 19 Jun 2008 15:55:34 +0000 Subject: [PATCH] GuiView::on_lastWorkAreaRemoved(): the window closing doesn't have to be delayed. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25326 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontends/qt4/GuiView.cpp b/src/frontends/qt4/GuiView.cpp index a48f898c64..ab9ed91b2b 100644 --- a/src/frontends/qt4/GuiView.cpp +++ b/src/frontends/qt4/GuiView.cpp @@ -693,7 +693,7 @@ void GuiView::on_lastWorkAreaRemoved() return; #endif } - QTimer::singleShot(0, this, SLOT(close())); + close(); } -- 2.39.2