mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
095e8081ca
commit
4fd0dfcabb
3 changed files with 13 additions and 23 deletions
|
@ -18,7 +18,6 @@ public:
|
|||
explicit PrintDialog(QWidget *parent = 0, Qt::WindowFlags f = 0);
|
||||
|
||||
private:
|
||||
bool checkForAvailablePrinters(void);
|
||||
PrintOptions *optionsWidget;
|
||||
PrintLayout *printLayout;
|
||||
QProgressBar *progressBar;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue