mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 09:32:12 +01:00
Fix build with latest Qt 5.6
This commit is contained in:
parent
73d93e1e3c
commit
9ed3554835
|
@ -54,7 +54,6 @@
|
||||||
#include <QWebChannel>
|
#include <QWebChannel>
|
||||||
#include <QWebEngineHistory>
|
#include <QWebEngineHistory>
|
||||||
#include <QWebEngineSettings>
|
#include <QWebEngineSettings>
|
||||||
#include <QWebEngineFullScreenRequest>
|
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
#include <QDesktopServices>
|
#include <QDesktopServices>
|
||||||
#include <QMessageBox>
|
#include <QMessageBox>
|
||||||
|
@ -317,7 +316,7 @@ void WebPage::windowCloseRequested()
|
||||||
view()->closeView();
|
view()->closeView();
|
||||||
}
|
}
|
||||||
|
|
||||||
void WebPage::fullScreenRequested(const QWebEngineFullScreenRequest &fullScreenRequest)
|
void WebPage::fullScreenRequested(QWebEngineFullScreenRequest fullScreenRequest)
|
||||||
{
|
{
|
||||||
view()->requestFullScreen(fullScreenRequest.toggleOn());
|
view()->requestFullScreen(fullScreenRequest.toggleOn());
|
||||||
|
|
||||||
|
|
|
@ -19,6 +19,7 @@
|
||||||
#define WEBPAGE_H
|
#define WEBPAGE_H
|
||||||
|
|
||||||
#include <QWebEnginePage>
|
#include <QWebEnginePage>
|
||||||
|
#include <QWebEngineFullScreenRequest>
|
||||||
#include <QVector>
|
#include <QVector>
|
||||||
|
|
||||||
#include "qzcommon.h"
|
#include "qzcommon.h"
|
||||||
|
@ -74,7 +75,7 @@ private slots:
|
||||||
void urlChanged(const QUrl &url);
|
void urlChanged(const QUrl &url);
|
||||||
void watchedFileChanged(const QString &file);
|
void watchedFileChanged(const QString &file);
|
||||||
void windowCloseRequested();
|
void windowCloseRequested();
|
||||||
void fullScreenRequested(const QWebEngineFullScreenRequest &fullScreenRequest);
|
void fullScreenRequested(QWebEngineFullScreenRequest fullScreenRequest);
|
||||||
void featurePermissionRequested(const QUrl &origin, const QWebEnginePage::Feature &feature);
|
void featurePermissionRequested(const QUrl &origin, const QWebEnginePage::Feature &feature);
|
||||||
void renderProcessTerminated(RenderProcessTerminationStatus terminationStatus, int exitCode);
|
void renderProcessTerminated(RenderProcessTerminationStatus terminationStatus, int exitCode);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user