summaryrefslogtreecommitdiff
path: root/games-strategy/freeciv/files/freeciv-3.1.0-qt6.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-06-12 00:08:13 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-06-12 00:08:13 +0100
commitf0ddcad13515f66d2f3bf827d33c277bdba7e1dd (patch)
tree3e1da8fa4626163bda62e9e8b6129867de5be46d /games-strategy/freeciv/files/freeciv-3.1.0-qt6.patch
parent65ff3cc3bd9c3f8e718a67dfecf1f8215bf5d1d4 (diff)
gentoo auto-resync : 12:06:2024 - 00:08:13
Diffstat (limited to 'games-strategy/freeciv/files/freeciv-3.1.0-qt6.patch')
-rw-r--r--games-strategy/freeciv/files/freeciv-3.1.0-qt6.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/games-strategy/freeciv/files/freeciv-3.1.0-qt6.patch b/games-strategy/freeciv/files/freeciv-3.1.0-qt6.patch
new file mode 100644
index 000000000000..9aa363a11e02
--- /dev/null
+++ b/games-strategy/freeciv/files/freeciv-3.1.0-qt6.patch
@@ -0,0 +1,24 @@
+From 8da1d4c91dff53db6d903730855ed6a02252e53d Mon Sep 17 00:00:00 2001
+From: Marko Lindqvist <cazfi74@gmail.com>
+Date: Wed, 17 Apr 2024 07:02:20 +0300
+Subject: [PATCH] Qt: Add Q_OBJECT for fc_shortcut_popup
+
+See RM #462
+
+Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
+---
+ client/gui-qt/shortcuts.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/client/gui-qt/shortcuts.h b/client/gui-qt/shortcuts.h
+index 7574ce4f8e..9d02d1c3f6 100644
+--- a/client/gui-qt/shortcuts.h
++++ b/client/gui-qt/shortcuts.h
+@@ -155,6 +155,7 @@ class line_edit : public QLineEdit
+ **************************************************************************/
+ class fc_shortcut_popup : public QDialog
+ {
++ Q_OBJECT
+ public:
+ fc_shortcut_popup(QWidget *parent);
+ void run(fc_shortcut *s);