summaryrefslogtreecommitdiff
path: root/noncore/graphics/opie-eye/gui/mainwindow.cpp
Side-by-side diff
Diffstat (limited to 'noncore/graphics/opie-eye/gui/mainwindow.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/graphics/opie-eye/gui/mainwindow.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/noncore/graphics/opie-eye/gui/mainwindow.cpp b/noncore/graphics/opie-eye/gui/mainwindow.cpp
index f63b5a1..e5921d8 100644
--- a/noncore/graphics/opie-eye/gui/mainwindow.cpp
+++ b/noncore/graphics/opie-eye/gui/mainwindow.cpp
@@ -8,9 +8,8 @@
#include "filesystem.h"
#include "imageinfoui.h"
#include "imageview.h"
-#if 0
#include "viewmodebutton.h"
-#endif
+
#include <iface/ifaceinfo.h>
#include <iface/dirview.h>
@@ -91,11 +90,11 @@ PMainWindow::PMainWindow(QWidget* wid, const char* name, WFlags style)
connect( btn, SIGNAL(clicked() ),
m_view, SLOT(slotTrash() ) );
-#if 0
+
btn = new ViewModeButton( bar );
connect( btn, SIGNAL(changeMode(int)),
m_view, SLOT(slotChangeMode(int)));
-#endif
+
btn = new QToolButton( bar );
btn->setIconSet( Resource::loadIconSet( "SettingsIcon" ) );
connect( btn, SIGNAL(clicked() ),