make dialog stay above the main window

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21809 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2007-11-26 23:42:51 +00:00
parent c06f45a66f
commit 69f195acd1

View File

@ -11,10 +11,12 @@
#include <config.h>
#include "GuiDialog.h"
#include "GuiView.h"
#include "debug.h"
#include "qt_helpers.h"
#include <QCloseEvent>
#include <QMainWindow>
#include <QSettings>
#include <QShowEvent>
@ -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)
{}