aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/printdialog.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-08-05 10:01:38 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-08-05 10:01:38 -0700
commit4fd0dfcabb44e9d1d83ba727f83d30f04efaae80 (patch)
tree5b814a8b0f075398dd9cdd25bbdd0bd39c4d3613 /qt-ui/printdialog.h
parent095e8081ca5f6714e1364bdb7da711d146362eeb (diff)
downloadsubsurface-4fd0dfcabb44e9d1d83ba727f83d30f04efaae80.tar.gz
Printing: only give up if no size is available
Checking for available printers appears to sometimes fail, even if there is a valid PDF or PS printer. Instead we bail if we can't get a valid size for the printer. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/printdialog.h')
-rw-r--r--qt-ui/printdialog.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/qt-ui/printdialog.h b/qt-ui/printdialog.h
index b29021838..32069a278 100644
--- a/qt-ui/printdialog.h
+++ b/qt-ui/printdialog.h
@@ -18,7 +18,6 @@ public:
explicit PrintDialog(QWidget *parent = 0, Qt::WindowFlags f = 0);
private:
- bool checkForAvailablePrinters(void);
PrintOptions *optionsWidget;
PrintLayout *printLayout;
QProgressBar *progressBar;