* src/frontends/qt4/QTocDialog.C: Hide the pointless QHeader

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13688 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2006-04-16 08:33:30 +00:00
parent 9d8aadcc64
commit a90ee19486

View File

@ -19,6 +19,7 @@
#include "debug.h"
#include <QHeaderView>
#include <QTreeWidget>
#include <QTreeWidgetItem>
#include <QPushButton>
@ -50,9 +51,9 @@ QTocDialog::QTocDialog(QToc * form)
tocTW->setColumnCount(1);
// hide the pointless QHeader
// QWidget * w = static_cast<QWidget*>(tocTW->child("list view header"));
// if (w)
// w->hide();
QHeaderView * w = static_cast<QHeaderView*>(tocTW->header());
if (w)
w->hide();
// connect(closePB, SIGNAL(clicked()),
// form, SLOT(slotClose()));