fix build

This commit is contained in:
Martin Rotter 2021-03-23 12:40:56 +01:00
parent 4caa7313e4
commit 19e325dcc7

View File

@ -238,10 +238,6 @@ NetworkUrlInterceptor* WebFactory::urlIinterceptor() const {
return m_urlInterceptor; return m_urlInterceptor;
} }
CookieJar* WebFactory::cookieJar() const {
return m_cookieJar;
}
QAction* WebFactory::engineSettingsAction() { QAction* WebFactory::engineSettingsAction() {
if (m_engineSettings == nullptr) { if (m_engineSettings == nullptr) {
m_engineSettings = new QAction(qApp->icons()->fromTheme(QSL("applications-internet")), tr("Web engine settings"), this); m_engineSettings = new QAction(qApp->icons()->fromTheme(QSL("applications-internet")), tr("Web engine settings"), this);
@ -317,6 +313,10 @@ QAction* WebFactory::createEngineSettingsAction(const QString& title, QWebEngine
#endif #endif
CookieJar* WebFactory::cookieJar() const {
return m_cookieJar;
}
void WebFactory::generateUnescapes() { void WebFactory::generateUnescapes() {
m_htmlNamedEntities[QSL("AElig")] = 0x00c6; m_htmlNamedEntities[QSL("AElig")] = 0x00c6;
m_htmlNamedEntities[QSL("AMP")] = 38; m_htmlNamedEntities[QSL("AMP")] = 38;