mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
b6c7abc1a7
commit
643f4a5726
7 changed files with 2 additions and 132 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue