forked from pool/ktorrent
- Add a missing change to fix-build-with-Qt-5_11.patch OBS-URL: https://build.opensuse.org/request/show/613840 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ktorrent?expand=0&rev=110
80 lines
2.2 KiB
Diff
80 lines
2.2 KiB
Diff
From 16691987fdf035f7cafd6c65f7287639ac4cc27f Mon Sep 17 00:00:00 2001
|
|
From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
|
|
Date: Sun, 18 Mar 2018 19:13:26 +0100
|
|
Subject: Fix build with Qt 5.11 (missing headers)
|
|
|
|
Reviewers: stikonas
|
|
|
|
Reviewed By: stikonas
|
|
|
|
Differential Revision: https://phabricator.kde.org/D11456
|
|
---
|
|
ktorrent/dialogs/fileselectdlg.cpp | 1 +
|
|
ktorrent/groups/groupview.cpp | 1 +
|
|
plugins/search/searchprefpage.cpp | 1 +
|
|
3 files changed, 3 insertions(+)
|
|
|
|
diff --git a/ktorrent/dialogs/fileselectdlg.cpp b/ktorrent/dialogs/fileselectdlg.cpp
|
|
index 139b4752..ec7d8ede 100644
|
|
--- a/ktorrent/dialogs/fileselectdlg.cpp
|
|
+++ b/ktorrent/dialogs/fileselectdlg.cpp
|
|
@@ -20,6 +20,7 @@
|
|
|
|
#include "fileselectdlg.h"
|
|
|
|
+#include <QButtonGroup>
|
|
#include <QMenu>
|
|
#include <QPushButton>
|
|
#include <QTextCodec>
|
|
diff --git a/ktorrent/groups/groupview.cpp b/ktorrent/groups/groupview.cpp
|
|
index 990ed0d3..76208144 100644
|
|
--- a/ktorrent/groups/groupview.cpp
|
|
+++ b/ktorrent/groups/groupview.cpp
|
|
@@ -23,6 +23,7 @@
|
|
#include <QAction>
|
|
#include <QDragEnterEvent>
|
|
#include <QDropEvent>
|
|
+#include <QHeaderView>
|
|
#include <QInputDialog>
|
|
#include <QMenu>
|
|
#include <QTreeWidgetItemIterator>
|
|
diff --git a/plugins/search/searchprefpage.cpp b/plugins/search/searchprefpage.cpp
|
|
index 667e7a82..4be6cd5c 100644
|
|
--- a/plugins/search/searchprefpage.cpp
|
|
+++ b/plugins/search/searchprefpage.cpp
|
|
@@ -21,6 +21,7 @@
|
|
|
|
#include "searchprefpage.h"
|
|
|
|
+#include <QButtonGroup>
|
|
#include <QCheckBox>
|
|
#include <QFile>
|
|
#include <QInputDialog>
|
|
--
|
|
2.17.0
|
|
|
|
From c66233cd9f5b87f9e265beae0a16839d3a5645a3 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Daniel=20Vr=C3=A1til?= <dvratil@kde.org>
|
|
Date: Fri, 4 May 2018 00:33:44 +0200
|
|
Subject: Fix build against Qt 5.11 (missing includes)
|
|
|
|
---
|
|
plugins/syndication/syndicationactivity.cpp | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/plugins/syndication/syndicationactivity.cpp b/plugins/syndication/syndicationactivity.cpp
|
|
index 61e80396..5736d526 100644
|
|
--- a/plugins/syndication/syndicationactivity.cpp
|
|
+++ b/plugins/syndication/syndicationactivity.cpp
|
|
@@ -21,6 +21,7 @@
|
|
#include <QHBoxLayout>
|
|
#include <QInputDialog>
|
|
#include <QToolButton>
|
|
+#include <QAction>
|
|
|
|
#include <KMainWindow>
|
|
#include <KMessageBox>
|
|
--
|
|
2.17.0
|
|
|