summaryrefslogtreecommitdiff
blob: 8903da1749845cb3aba203a4aee4b2451a6ccb87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
From b0b72ccfee2484ec05861879cca45d62d87055ae Mon Sep 17 00:00:00 2001
From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
Date: Sat, 17 Mar 2018 00:29:11 +0100
Subject: [PATCH] Fix build with Qt 5.11

---
 src/playlist/playlistcontainer.cpp     | 1 +
 src/ui/globalshortcutssettingspage.cpp | 1 +
 src/widgets/errordialog.cpp            | 2 ++
 3 files changed, 4 insertions(+)

diff --git a/src/playlist/playlistcontainer.cpp b/src/playlist/playlistcontainer.cpp
index 58f1ad2d6..2ba1a3ff1 100644
--- a/src/playlist/playlistcontainer.cpp
+++ b/src/playlist/playlistcontainer.cpp
@@ -23,6 +23,7 @@
 #include "playlistparsers/playlistparser.h"
 #include "ui/iconloader.h"
 
+#include <QAction>
 #include <QFileDialog>
 #include <QInputDialog>
 #include <QKeyEvent>
diff --git a/src/ui/globalshortcutssettingspage.cpp b/src/ui/globalshortcutssettingspage.cpp
index ec5d29b28..c60a9561d 100644
--- a/src/ui/globalshortcutssettingspage.cpp
+++ b/src/ui/globalshortcutssettingspage.cpp
@@ -24,6 +24,7 @@
 #include "ui/iconloader.h"
 #include "ui/settingsdialog.h"
 
+#include <QAction>
 #include <QKeyEvent>
 #include <QMessageBox>
 #include <QProcess>
diff --git a/src/widgets/errordialog.cpp b/src/widgets/errordialog.cpp
index 1086305f3..3fd590840 100644
--- a/src/widgets/errordialog.cpp
+++ b/src/widgets/errordialog.cpp
@@ -18,6 +18,8 @@
 #include "errordialog.h"
 #include "ui_errordialog.h"
 
+#include <QStyle>
+
 ErrorDialog::ErrorDialog(QWidget* parent)
     : QDialog(parent), ui_(new Ui_ErrorDialog) {
   ui_->setupUi(this);
-- 
2.16.2