1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 18:56:34 +01:00

Fix build with latest Qt 5.6

This commit is contained in:
David Rosca 2015-12-08 11:27:06 +01:00
parent 73d93e1e3c
commit 9ed3554835
2 changed files with 3 additions and 3 deletions

View File

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

View File

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