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
This commit is contained in:
Abdelrazak Younes 2010-04-05 09:26:14 +00:00
parent adc4dc2a84
commit 002c33387a

View File

@ -29,7 +29,7 @@ public:
/// container. /// container.
/// \param title is the window title used for decoration. /// \param title is the window title used for decoration.
DialogView(GuiView & lv, QString const & name, QString const & title) 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; } virtual QWidget * asQWidget() { return this; }