mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
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:
parent
c808fc0445
commit
e69f006911
@ -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);
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user