summaryrefslogtreecommitdiffstats
path: root/qt-ui/printdialog.h
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2013-12-04 15:51:01 +0200
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2013-12-04 15:52:21 +0200
commitfc06a69c436f266f74bbdd141f508e1063ca7ba9 (patch)
treed300e8b1be4ea556156a84300186b77e085fdf8d /qt-ui/printdialog.h
parente4f35fb51a549ed666728eaa947728686a415ac9 (diff)
downloadsubsurface-fc06a69c436f266f74bbdd141f508e1063ca7ba9.tar.gz
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 <neolit123@gmail.com>
Diffstat (limited to 'qt-ui/printdialog.h')
-rw-r--r--qt-ui/printdialog.h2
1 files changed, 2 insertions, 0 deletions
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 <QPrinter>
#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: