From fc06a69c436f266f74bbdd141f508e1063ca7ba9 Mon Sep 17 00:00:00 2001 From: "Lubomir I. Ivanov" Date: Wed, 4 Dec 2013 15:51:01 +0200 Subject: PrintDialog: reset the progress bar each time the dialog opens This requires us to expose the progressBar as a private class member. Signed-off-by: Lubomir I. Ivanov --- qt-ui/printdialog.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'qt-ui/printdialog.h') diff --git a/qt-ui/printdialog.h b/qt-ui/printdialog.h index e75502997..44bb94669 100644 --- a/qt-ui/printdialog.h +++ b/qt-ui/printdialog.h @@ -5,6 +5,7 @@ #include #include "../display.h" +class QProgressBar; class PrintOptions; class PrintLayout; @@ -21,6 +22,7 @@ private: explicit PrintDialog(QWidget *parent = 0, Qt::WindowFlags f = 0); PrintOptions *optionsWidget; PrintLayout *printLayout; + QProgressBar *progressBar; QPrinter printer; private slots: -- cgit v1.2.3-70-g09d2