From e58280676d0315d180559cc91b7101e55467ac29 Mon Sep 17 00:00:00 2001 From: Pavel Sanda Date: Mon, 17 Aug 2009 18:43:25 +0000 Subject: [PATCH] Hint from Andre for QTreeView. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31100 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiDocument.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/frontends/qt4/GuiDocument.cpp b/src/frontends/qt4/GuiDocument.cpp index 97b29b5ef1..7bb3db6973 100644 --- a/src/frontends/qt4/GuiDocument.cpp +++ b/src/frontends/qt4/GuiDocument.cpp @@ -976,10 +976,7 @@ GuiDocument::GuiDocument(GuiView & lv) // Modules modulesModule = new UiWidget; - -#if (QT_VERSION >= 0x040400) - modulesModule->availableLV->setHeaderHidden(true); -#endif + modulesModule->availableLV->header()->setVisible(false); selectionManager = new ModuleSelectionManager(modulesModule->availableLV, modulesModule->selectedLV,