]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt2/panelstack.C
Get rid of the static_casts.
[lyx.git] / src / frontends / qt2 / panelstack.C
index 138c728b94abf5554a3b363963a85e4f18aac497..32e0715f9d99188db39885dd76c55bdee7bd8a97 100644 (file)
@@ -38,6 +38,9 @@ PanelStack::PanelStack(QWidget * parent, const char * name)
        list_->setResizeMode(QListView::AllColumns);
 #endif
        list_->setRootIsDecorated(true);
+       QWidget * w = static_cast<QWidget*>(list_->child("list view header"));
+       if (w)
+               w->hide();
 
        connect(list_, SIGNAL(currentChanged(QListViewItem*)),
                this, SLOT(switchPanel(QListViewItem *)));