From 69f195acd19e0f1d94e89df12b606eaf9cb9c7ff Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Mon, 26 Nov 2007 23:42:51 +0000 Subject: [PATCH] make dialog stay above the main window git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21809 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiDialog.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) {} -- 2.39.2