1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 10:46:35 +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 <QWebEngineHistory>
#include <QWebEngineSettings>
#include <QWebEngineFullScreenRequest>
#include <QTimer>
#include <QDesktopServices>
#include <QMessageBox>
@ -317,7 +316,7 @@ void WebPage::windowCloseRequested()
view()->closeView();
}
void WebPage::fullScreenRequested(const QWebEngineFullScreenRequest &fullScreenRequest)
void WebPage::fullScreenRequested(QWebEngineFullScreenRequest fullScreenRequest)
{
view()->requestFullScreen(fullScreenRequest.toggleOn());

View File

@ -19,6 +19,7 @@
#define WEBPAGE_H
#include <QWebEnginePage>
#include <QWebEngineFullScreenRequest>
#include <QVector>
#include "qzcommon.h"
@ -74,7 +75,7 @@ private slots:
void urlChanged(const QUrl &url);
void watchedFileChanged(const QString &file);
void windowCloseRequested();
void fullScreenRequested(const QWebEngineFullScreenRequest &fullScreenRequest);
void fullScreenRequested(QWebEngineFullScreenRequest fullScreenRequest);
void featurePermissionRequested(const QUrl &origin, const QWebEnginePage::Feature &feature);
void renderProcessTerminated(RenderProcessTerminationStatus terminationStatus, int exitCode);