summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Richardson <arichardson.kde@gmail.com>2015-08-17 17:27:51 (GMT)
committerAlex Richardson <arichardson.kde@gmail.com>2015-08-19 14:14:29 (GMT)
commite60890896146118973e1b0b824433f1b16527193 (patch)
tree27e66ea1e33f990161916c36877804d3e1bbc2fb
parent64afe09e883f09a320f789db415524bd5325a242 (diff)
Remove check for Qt < 4.7
Useless as we currently require at least 5.2
-rw-r--r--core/fileprinter.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/core/fileprinter.cpp b/core/fileprinter.cpp
index 930c5eb..f2371bb 100644
--- a/core/fileprinter.cpp
+++ b/core/fileprinter.cpp
@@ -25,7 +25,6 @@
#include <KProcess>
#include <KShell>
#include <QtCore/QDebug>
-#include <kdeversion.h>
#include <QStandardPaths>
#include "debug_p.h"
@@ -161,11 +160,9 @@ QList<int> FilePrinter::pageList( QPrinter &printer, int lastPage,
if ( printer.printRange() == QPrinter::PageRange ) {
startPage = printer.fromPage();
endPage = printer.toPage();
-#if QT_VERSION >= KDE_MAKE_VERSION(4,7,0)
} else if ( printer.printRange() == QPrinter::CurrentPage) {
startPage = currentPage;
endPage = currentPage;
-#endif
} else { //AllPages
startPage = 1;
endPage = lastPage;