summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/printdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/printdialog.cpp')
-rw-r--r--desktop-widgets/printdialog.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/desktop-widgets/printdialog.cpp b/desktop-widgets/printdialog.cpp
index e8aeb5176..bbbade2e4 100644
--- a/desktop-widgets/printdialog.cpp
+++ b/desktop-widgets/printdialog.cpp
@@ -191,9 +191,8 @@ void PrintDialog::printClicked(void)
}
}
-void PrintDialog::onPaintRequested(QPrinter *printerPtr)
+void PrintDialog::onPaintRequested(QPrinter*)
{
- Q_UNUSED(printerPtr)
createPrinterObj();
connect(printer, SIGNAL(progessUpdated(int)), progressBar, SLOT(setValue(int)));
printer->print();