summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 3ebd3742..4f41652e 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -572,7 +572,7 @@ void MainWindow::printRequested(QWebFrame *frame)
QPrinter printer;
QPointer<QPrintDialog> dialog = KdePrint::createPrintDialog(&printer, this);
- if (dialog->exec() == QDialog::Accepted)
+ if (dialog->exec() == KDialog::Ok)
{
frame->print(&printer);
}