aboutsummaryrefslogtreecommitdiffstats
path: root/desktop-widgets/printer.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2019-03-19 12:40:33 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-03-20 08:45:02 -0700
commit643f4a5726926b86693b442e318f40cf28fee04a (patch)
tree96841bf31a0ff5e82a22b042c10c351d25a27b84 /desktop-widgets/printer.h
parentb6c7abc1a76f4a05ea564ae994f19d5fc467699a (diff)
downloadsubsurface-643f4a5726926b86693b442e318f40cf28fee04a.tar.gz
Remove partial support for QWebEngine
Printing never worked, none of this was ever included in test builds. Also, now that there are official releases of QtWebKit again, this just doesn't seem worth carrying along anymore. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/printer.h')
-rw-r--r--desktop-widgets/printer.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/desktop-widgets/printer.h b/desktop-widgets/printer.h
index 661ec8324..9197c6891 100644
--- a/desktop-widgets/printer.h
+++ b/desktop-widgets/printer.h
@@ -3,11 +3,7 @@
#define PRINTER_H
#include <QPrinter>
-#ifdef USE_WEBENGINE
-#include <QWebEngineView>
-#else
#include <QWebView>
-#endif
#include <QRect>
#include <QPainter>
@@ -25,11 +21,7 @@ public:
private:
QPaintDevice *paintDevice;
-#ifdef USE_WEBENGINE
- QWebEngineView *webView;
-#else
QWebView *webView;
-#endif
print_options *printOptions;
template_options *templateOptions;
QSize pageSize;