From: Abdelrazak Younes Date: Fri, 5 Sep 2008 12:42:47 +0000 (+0000) Subject: GuiApplication::resetGui(): clear out Mac nenubar before deletion, just in case. X-Git-Tag: 1.6.10~3546 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=009bd5b8ffcdea16873596566189444fd726168f;p=lyx.git GuiApplication::resetGui(): clear out Mac nenubar before deletion, just in case. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26307 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/frontends/qt4/GuiApplication.cpp b/src/frontends/qt4/GuiApplication.cpp index 6c05a87e40..b93375fcfe 100644 --- a/src/frontends/qt4/GuiApplication.cpp +++ b/src/frontends/qt4/GuiApplication.cpp @@ -896,6 +896,7 @@ void GuiApplication::resetGui() return; #ifdef Q_WS_MACX + d->global_menubar_->clear(); delete d->global_menubar_; // Create the global default menubar which is shown for the dialogs // and if no GuiView is visible.