]> git.lyx.org Git - features.git/commitdiff
We don't need a QMainWindow parent.
authorAbdelrazak Younes <younes@lyx.org>
Mon, 12 Mar 2007 15:45:08 +0000 (15:45 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Mon, 12 Mar 2007 15:45:08 +0000 (15:45 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17420 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/TocWidget.C
src/frontends/qt4/TocWidget.h

index 2fb8b9bfb96cec55dc7e58e4bf1cd163f088ec9f..304071e54590fc9129cdf72428d2f3581428faf0 100644 (file)
@@ -37,7 +37,7 @@ namespace lyx {
 namespace frontend {
 
 
-TocWidget::TocWidget(QToc * form, QMainWindow * parent)
+TocWidget::TocWidget(QToc * form, QWidget * parent)
        : QWidget(parent), form_(form), depth_(0)
 {
        setupUi(this);
index e1c12479cfd19bbc8f17fd6b93730bcb47d1a756..b19acc5acd72aaad2135022971a99c1de1173243 100644 (file)
@@ -15,7 +15,6 @@
 
 #include "ui/QTocUi.h"
 
-#include <QMainWindow>
 #include <QWidget>
 
 namespace lyx {
@@ -26,7 +25,7 @@ class QToc;
 class TocWidget : public QWidget, public Ui::QTocUi {
        Q_OBJECT
 public:
-       TocWidget(QToc * form, QMainWindow * parent = 0);
+       TocWidget(QToc * form, QWidget * parent = 0);
 
        /// Update the display of the dialog whilst it is still visible.
        void update();