summaryrefslogtreecommitdiff
path: root/qt4/demos/toc.cpp
diff options
context:
space:
mode:
authorPino Toscano <pino@kde.org>2009-06-03 13:21:22 +0200
committerPino Toscano <pino@kde.org>2009-06-03 13:21:22 +0200
commitdb5102842494a124d813db1696bb60820db3442b (patch)
tree4475349d14597f6961fbfaf8fdcd867c527a324e /qt4/demos/toc.cpp
parente8d897581656ee4a20e9bb87dd999425663ace3b (diff)
[Qt4 demo] remove checks for Qt >= 4.2
poppler-qt4 requires Qt 4.3, so checking for 4.2 is no more needed
Diffstat (limited to 'qt4/demos/toc.cpp')
-rw-r--r--qt4/demos/toc.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/qt4/demos/toc.cpp b/qt4/demos/toc.cpp
index 7c0de9a9..bf3e5cbb 100644
--- a/qt4/demos/toc.cpp
+++ b/qt4/demos/toc.cpp
@@ -59,9 +59,7 @@ TocDock::TocDock(QWidget *parent)
m_tree->setAlternatingRowColors(true);
m_tree->header()->hide();
setWindowTitle(tr("TOC"));
-#if QT_VERSION >= 0x040200
m_tree->setHorizontalScrollMode(QAbstractItemView::ScrollPerPixel);
-#endif
}
TocDock::~TocDock()