From: André Pönitz Date: Mon, 26 Nov 2007 23:42:51 +0000 (+0000) Subject: make dialog stay above the main window X-Git-Tag: 1.6.10~7183 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=69f195acd19e0f1d94e89df12b606eaf9cb9c7ff;p=features.git make dialog stay above the main window git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21809 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/frontends/qt4/GuiDialog.cpp b/src/frontends/qt4/GuiDialog.cpp index 36632935ab..5034373cce 100644 --- a/src/frontends/qt4/GuiDialog.cpp +++ b/src/frontends/qt4/GuiDialog.cpp @@ -11,10 +11,12 @@ #include #include "GuiDialog.h" +#include "GuiView.h" #include "debug.h" #include "qt_helpers.h" #include +#include #include #include @@ -24,7 +26,7 @@ namespace lyx { namespace frontend { GuiDialog::GuiDialog(GuiView & lv, std::string const & name) - : Dialog(lv, name), is_closing_(false) + : QDialog(&lv), Dialog(lv, name), is_closing_(false) {}