summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier CHURLAUD <olivier@churlaud.com>2016-07-15 19:17:30 (GMT)
committerOlivier CHURLAUD <olivier@churlaud.com>2016-07-15 19:17:30 (GMT)
commit327b560e4e6aa6e889111ae26131d3cb672bf770 (patch)
tree473653becd48bfbb6202c3d21ed685fd9cc2925f
parent741c616c7a0483f8b232bfd756dcd8fcbf6ba314 (diff)
This is Qt5 based, remove condition
-rw-r--r--part.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/part.cpp b/part.cpp
index e38e701..a0770d1 100644
--- a/part.cpp
+++ b/part.cpp
@@ -72,8 +72,6 @@
#include <knewstuff2/engine.h>
#endif
-#include <kdeversion.h>
-
// local includes
#include "aboutdata.h"
#include "extensions.h"
@@ -2769,13 +2767,11 @@ void Part::slotPrint()
printDialog->setEnabledOptions( printDialog->enabledOptions() ^ QAbstractPrintDialog::PrintToFile );
}
-#if QT_VERSION >= KDE_MAKE_VERSION(4,7,0)
// Enable the Current Page option in the dialog.
if ( m_document->pages() > 1 && currentPage() > 0 )
{
printDialog->setOption( QAbstractPrintDialog::PrintCurrentPage );
}
-#endif
if ( printDialog->exec() )
doPrint( printer );