summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Krause <[email protected]>2015-08-16 22:47:59 +0200
committerVolker Krause <[email protected]>2015-08-16 22:47:59 +0200
commitf4c4b0a4897e0ef78a7f9f999b686ae40b3c092e (patch)
treebaf31b6c0fd1f047c3fc7f270b77b5dbc678842a
parent55551fe8cf0cd6c77d0ebd2359f8ea8dd2f2901f (diff)
Port away from KdePrint.
-rw-r--r--messageviewer/viewer/viewer_p.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/messageviewer/viewer/viewer_p.cpp b/messageviewer/viewer/viewer_p.cpp
index 796871f..ed17298 100644
--- a/messageviewer/viewer/viewer_p.cpp
+++ b/messageviewer/viewer/viewer_p.cpp
@@ -71,7 +71,6 @@
#include <QTemporaryFile>
#include <KToggleAction>
#include <QPrintPreviewDialog>
-#include <kdeprintdialog.h>
#include <QIcon>
#include <kfileitemactions.h>
#include <KFileItemListProperties>
@@ -2533,7 +2532,7 @@ void ViewerPrivate::slotPrintMsg()
}
QPrinter printer;
- AutoQPointer<QPrintDialog> dlg(KdePrint::createPrintDialog(&printer));
+ AutoQPointer<QPrintDialog> dlg(new QPrintDialog(&printer));
if (dlg && dlg->exec() == QDialog::Accepted) {
mViewer->print(&printer);