ktorrent/fix-build-with-Qt-5_11.patch
2018-05-29 14:51:22 +00:00

49 lines
1.3 KiB
Diff

commit 16691987fdf035f7cafd6c65f7287639ac4cc27f
Author: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
Date: Sun Mar 18 19:13:26 2018 +0100
Fix build with Qt 5.11 (missing headers)
Reviewers: stikonas
Reviewed By: stikonas
Differential Revision: https://phabricator.kde.org/D11456
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>