Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / applications / emulators / yabause / 0001-Fixes-for-Qt-5.11-upgrade.patch
blob43539ef4ca581634ca1aba1158f437c7545aad8c
1 From 3140afd6fb7dad7a25296526a71b005fb9eae048 Mon Sep 17 00:00:00 2001
2 From: Samuel Dionne-Riel <samuel@dionne-riel.com>
3 Date: Sat, 8 Sep 2018 00:44:08 -0400
4 Subject: [PATCH] Fixes for Qt 5.11 upgrade
6 ---
7 src/qt/ui/UICheatRaw.cpp | 2 --
8 src/qt/ui/UICheatRaw.h | 2 +-
9 src/qt/ui/UICheats.cpp | 2 ++
10 src/qt/ui/UIHexInput.h | 2 ++
11 4 files changed, 5 insertions(+), 3 deletions(-)
13 diff --git a/src/qt/ui/UICheatRaw.cpp b/src/qt/ui/UICheatRaw.cpp
14 index 4ad82d77..3f78486b 100755
15 --- a/src/qt/ui/UICheatRaw.cpp
16 +++ b/src/qt/ui/UICheatRaw.cpp
17 @@ -20,8 +20,6 @@
18 #include "UIHexInput.h"
19 #include "../QtYabause.h"
21 -#include <QButtonGroup>
23 UICheatRaw::UICheatRaw( QWidget* p )
24 : QDialog( p )
26 diff --git a/src/qt/ui/UICheatRaw.h b/src/qt/ui/UICheatRaw.h
27 index d97b429d..20318c67 100755
28 --- a/src/qt/ui/UICheatRaw.h
29 +++ b/src/qt/ui/UICheatRaw.h
30 @@ -21,7 +21,7 @@
32 #include "ui_UICheatRaw.h"
34 -class QButtonGroup;
35 +#include <QButtonGroup>
37 class UICheatRaw : public QDialog, public Ui::UICheatRaw
39 diff --git a/src/qt/ui/UICheats.cpp b/src/qt/ui/UICheats.cpp
40 index c6027972..44d341c3 100755
41 --- a/src/qt/ui/UICheats.cpp
42 +++ b/src/qt/ui/UICheats.cpp
43 @@ -21,6 +21,8 @@
44 #include "UICheatRaw.h"
45 #include "../CommonDialogs.h"
47 +#include <QButtonGroup>
49 UICheats::UICheats( QWidget* p )
50 : QDialog( p )
52 diff --git a/src/qt/ui/UIHexInput.h b/src/qt/ui/UIHexInput.h
53 index f333b016..4bd8aed4 100644
54 --- a/src/qt/ui/UIHexInput.h
55 +++ b/src/qt/ui/UIHexInput.h
56 @@ -22,6 +22,8 @@
57 #include "ui_UIHexInput.h"
58 #include "../QtYabause.h"
60 +#include <QValidator>
62 class HexValidator : public QValidator
64 Q_OBJECT
65 --
66 2.16.4