1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00

Fix build with Qt 5.11

PR:		230884
Obtained from:	upstream
This commit is contained in:
Jason E. Hale 2018-08-31 05:33:25 +00:00
parent de998d0c7a
commit 79d6f6b732
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=478518

View File

@ -0,0 +1,26 @@
From 96aa63edb069fdad879104469d534a7a6a7d704c Mon Sep 17 00:00:00 2001
From: Jimi Huotari <chiitoo@gentoo.org>
Date: Fri, 26 Jan 2018 13:12:25 +0100
Subject: [PATCH] Fix build against Qt 5.11
--- src/lib/adblock/adblockmanager.cpp.orig 2015-11-11 15:13:24 UTC
+++ src/lib/adblock/adblockmanager.cpp
@@ -28,6 +28,7 @@
#include "browserwindow.h"
#include "settings.h"
+#include <QAction>
#include <QDateTime>
#include <QTextStream>
#include <QDir>
--- src/plugins/AutoScroll/autoscrollsettings.cpp.orig 2015-11-11 15:13:24 UTC
+++ src/plugins/AutoScroll/autoscrollsettings.cpp
@@ -19,6 +19,8 @@
#include "ui_autoscrollsettings.h"
#include "autoscroller.h"
+#include <QIcon>
+
AutoScrollSettings::AutoScrollSettings(AutoScroller* scroller, QWidget* parent)
: QDialog(parent)
, ui(new Ui::AutoScrollSettings)