From 002c33387a84751c247d428fb86d5110a8a6fe0f Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Mon, 5 Apr 2010 09:26:14 +0000 Subject: [PATCH] Remove GuiView parent from DialogView based dialogs. This is because these dialogs always use the currently focused GuiView, not the one passed at construction. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34051 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 a95b1a435c..47a018fd33 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) - : QDialog(&lv), Dialog(lv, name, "LyX: " + title) + : Dialog(lv, name, "LyX: " + title) {} virtual QWidget * asQWidget() { return this; }