From b8f5a4ccf1da2b00a426acbf40da1c262509d72d Mon Sep 17 00:00:00 2001 From: David Rosca Date: Wed, 11 May 2016 11:09:50 +0200 Subject: [PATCH] Fix build with Qt 5.6 --- src/lib/autofill/autofill.cpp | 2 +- src/lib/autofill/autofill.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/autofill/autofill.cpp b/src/lib/autofill/autofill.cpp index 4ada6ab04..60d8f6519 100644 --- a/src/lib/autofill/autofill.cpp +++ b/src/lib/autofill/autofill.cpp @@ -213,7 +213,7 @@ void AutoFill::saveForm(WebPage *page, const QUrl &frameUrl, const PageFormData } // Returns all saved passwords on this page -QVector AutoFill::completePage(QWebEnginePage *page, const QUrl &frameUrl) +QVector AutoFill::completePage(WebPage *page, const QUrl &frameUrl) { QVector list; diff --git a/src/lib/autofill/autofill.h b/src/lib/autofill/autofill.h index 53c35f7bc..4e8749d56 100644 --- a/src/lib/autofill/autofill.h +++ b/src/lib/autofill/autofill.h @@ -1,6 +1,6 @@ /* ============================================================ * QupZilla - WebKit based browser -* Copyright (C) 2010-2014 David Rosca +* Copyright (C) 2010-2016 David Rosca * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -70,7 +70,7 @@ public: void removeAllEntries(); void saveForm(WebPage *page, const QUrl &frameUrl, const PageFormData &formData); - QVector completePage(QWebEnginePage *page, const QUrl &frameUrl); + QVector completePage(WebPage *page, const QUrl &frameUrl); QByteArray exportPasswords(); bool importPasswords(const QByteArray &data);