Commit 327b560e authored by Olivier Churlaud's avatar Olivier Churlaud
Browse files

This is Qt5 based, remove condition

parent 741c616c
......@@ -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 );
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment