]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/PanelStack.cpp
do what the FIXME suggested
[lyx.git] / src / frontends / qt4 / PanelStack.cpp
index 419897f3f74c0594d7c0c696110d3f604c617d3e..feb80b78be8225c684f0a8cd9f679cd575d95ed4 100644 (file)
@@ -14,7 +14,7 @@
 
 #include "qt_helpers.h"
 
-#include "debug.h"
+#include "support/debug.h"
 
 #include <QFontMetrics>
 #include <QStackedWidget>
@@ -26,9 +26,7 @@
 
 #include <iostream>
 
-
-using std::endl;
-using std::cout;
+using namespace std;
 
 namespace lyx {
 namespace frontend {
@@ -41,6 +39,7 @@ PanelStack::PanelStack(QWidget * parent)
        stack_ = new QStackedWidget(this);
 
        list_->setColumnCount(1);
+       list_->setRootIsDecorated(false);
        // Hide the pointless list header
        list_->header()->hide();
 //     QStringList HeaderLabels;
@@ -61,7 +60,7 @@ void PanelStack::addCategory(docstring const & n, docstring const & parent)
        QTreeWidgetItem * item = 0;
        QString const name = toqstr(n);
 
-       LYXERR(Debug::GUI) << "addCategory n= " << to_utf8(n) << "   parent= " << endl;
+       LYXERR(Debug::GUI, "addCategory n= " << to_utf8(n) << "   parent= ");
 
        int depth = 1;