]> git.lyx.org Git - lyx.git/commitdiff
remove dead code.
authorAbdelrazak Younes <younes@lyx.org>
Sat, 8 Sep 2007 17:48:14 +0000 (17:48 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Sat, 8 Sep 2007 17:48:14 +0000 (17:48 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20151 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiToc.cpp

index 4a909b9f851f38ef3db4ada120b836aeea19483e..7d09e5031e993dfa1ff6ed9af97918201cd63178 100644 (file)
 
 #include "debug.h"
 
-#include "ControlToc.h"
-
 #include <algorithm>
 
 using std::endl;
 
-using std::pair;
-using std::vector;
-using std::string;
-
 namespace lyx {
 namespace frontend {
 
@@ -35,14 +29,6 @@ namespace frontend {
 GuiToc::GuiToc(Dialog & dialog)
        : ControlToc(dialog)
 {
-#ifdef Q_WS_MACX
-               // On Mac show as a drawer at the right
-       //setView(new DockView<GuiToc, TocWidget>(
-       //              *dialog, qtoc, &gui_view, _("Outline"), Qt::RightDockWidgetArea, Qt::Drawer));
-#else
-       //setView(new DockView<GuiToc, TocWidget>(
-//                     *dialog, qtoc, &gui_view, _("Outline")));
-#endif
 }