mirror of
https://invent.kde.org/graphics/okular
synced 2024-07-05 00:58:46 +00:00
Remove check for Qt < 4.7
Useless as we currently require at least 5.2
This commit is contained in:
parent
64afe09e88
commit
e608908961
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user