]> 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 79f78950593fc09320639603c94e2e281986c70e..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 {
@@ -62,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;