From 3b2fb505d58f28f0ce9b4de121f12fc924c1ec0c Mon Sep 17 00:00:00 2001 From: Treeki Date: Sun, 5 Aug 2012 17:35:52 +0200 Subject: getting further... basic read-only Scene Graph model/widget --- lsmainwindow.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'lsmainwindow.cpp') diff --git a/lsmainwindow.cpp b/lsmainwindow.cpp index 4e6af5f..71b374b 100644 --- a/lsmainwindow.cpp +++ b/lsmainwindow.cpp @@ -32,6 +32,7 @@ LSMainWindow::LSMainWindow(QWidget *parent) : QMainWindow(parent) { createActions(); m_view = new QTreeView(this); + m_view->setHeaderHidden(true); setCentralWidget(m_view); connect(m_view, SIGNAL(activated(QModelIndex)), SLOT(handleItemActivated(QModelIndex))); -- cgit v1.2.3