We don't need a QMainWindow parent.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17420 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2007-03-12 15:45:08 +00:00
parent c808fc0445
commit e69f006911
2 changed files with 2 additions and 3 deletions

View 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);

View 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();