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
This commit is contained in:
Abdelrazak Younes 2010-10-21 13:40:49 +00:00
parent 2cf666e3cd
commit e0f9645186

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)
: Dialog(lv, name, "LyX: " + title) : QDialog(&lv), Dialog(lv, name, "LyX: " + title)
{} {}
virtual QWidget * asQWidget() { return this; } virtual QWidget * asQWidget() { return this; }