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>
This commit is contained in:
Dirk Hohndel 2019-03-19 12:40:33 -07:00
parent b6c7abc1a7
commit 643f4a5726
7 changed files with 2 additions and 132 deletions

View file

@ -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;