From e0f96451861e7819925c1f66381e1fe6f1165fee Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Thu, 21 Oct 2010 13:40:49 +0000 Subject: [PATCH] DialogView: make GuiView the parent widget to partly solve bug #6710. This make sense anyway for all dialogs to be above the GuiView. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35747 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/DialogView.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontends/qt4/DialogView.h b/src/frontends/qt4/DialogView.h index f01f04e4dc..d3125c6f8e 100644 --- a/src/frontends/qt4/DialogView.h +++ b/src/frontends/qt4/DialogView.h @@ -29,7 +29,7 @@ public: /// container. /// \param title is the window title used for decoration. DialogView(GuiView & lv, QString const & name, QString const & title) - : Dialog(lv, name, "LyX: " + title) + : QDialog(&lv), Dialog(lv, name, "LyX: " + title) {} virtual QWidget * asQWidget() { return this; } -- 2.39.2