Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Graphics
Okular
Commits
327b560e
Commit
327b560e
authored
Jul 15, 2016
by
Olivier Churlaud
Browse files
This is Qt5 based, remove condition
parent
741c616c
Changes
1
Hide whitespace changes
Inline
Side-by-side
part.cpp
View file @
327b560e
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment