summaryrefslogtreecommitdiff
blob: 379de8836b9432ac5aea1d5f214a4e908d9aa388 (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
From: Luigi Baldoni <aloisio@gmx.com>
Date: 2018-06-18 13:16:31 +0200
Subject: Add missing include statements
References: https://sourceforge.net/p/chessx/bugs/254
Upstream: submitted

A few explicit include statements are required with Qt 5.11
---
Index: chessx-1.4.6/src/gui/gamewindow.cpp
===================================================================
--- chessx-1.4.6.orig/src/gui/gamewindow.cpp
+++ chessx-1.4.6/src/gui/gamewindow.cpp
@@ -9,6 +9,7 @@
 #include "settings.h"
 
 #include <QToolButton>
+#include <QAction>
 
 #if defined(_MSC_VER) && defined(_DEBUG)
 #define DEBUG_NEW new( _NORMAL_BLOCK, __FILE__, __LINE__ )
Index: chessx-1.4.6/src/dialogs/savedialog.cpp
===================================================================
--- chessx-1.4.6.orig/src/dialogs/savedialog.cpp
+++ chessx-1.4.6/src/dialogs/savedialog.cpp
@@ -24,6 +24,7 @@
 
 #include <QLineEdit>
 #include <QCompleter>
+#include <QButtonGroup>
 
 #if defined(_MSC_VER) && defined(_DEBUG)
 #define DEBUG_NEW new( _NORMAL_BLOCK, __FILE__, __LINE__ )
Index: chessx-1.4.6/src/dialogs/preferences.cpp
===================================================================
--- chessx-1.4.6.orig/src/dialogs/preferences.cpp
+++ chessx-1.4.6/src/dialogs/preferences.cpp
@@ -33,6 +33,7 @@
 #include <QFileDialog>
 #include <QDesktopServices>
 #include <QTextStream>
+#include <QAction>
 
 #if defined(_MSC_VER) && defined(_DEBUG)
 #define DEBUG_NEW new( _NORMAL_BLOCK, __FILE__, __LINE__ )