From 34dbad489ea5d96ab41cc1a9eb4f38b0cc769c24 Mon Sep 17 00:00:00 2001
From: Marko Lindqvist <cazfi74@gmail.com>
Date: Sat, 9 Aug 2025 03:59:02 +0300
Subject: [PATCH 22/22] Qt: Fix xxx_selected SLOT definitions

Fixes nation selection.

Reported by leo.priori

See RM #1652

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
---
 client/gui-qt/dialogs.cpp | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/client/gui-qt/dialogs.cpp b/client/gui-qt/dialogs.cpp
index cd6eceb4a3..3ca6d7a03f 100644
--- a/client/gui-qt/dialogs.cpp
+++ b/client/gui-qt/dialogs.cpp
@@ -542,13 +542,11 @@ races_dialog::races_dialog(struct player *pplayer,
   connect(styles->selectionModel(),
           SIGNAL(selectionChanged(const QItemSelection &,
                                   const QItemSelection &)),
-          SLOT(style_selected(const QItemSelection &,
-                              const QItemSelection &)));
+          SLOT(style_selected(const QItemSelection &)));
   connect(selected_nation_tabs->selectionModel(),
           SIGNAL(selectionChanged(const QItemSelection &,
                                   const QItemSelection &)),
-          SLOT(nation_selected(const QItemSelection &,
-                              const QItemSelection &)));
+          SLOT(nation_selected(const QItemSelection &)));
   connect(leader_name, SIGNAL(currentIndexChanged(int)),
           SLOT(leader_selected(int)));
   connect(leader_name->lineEdit(), &QLineEdit::returnPressed,
@@ -558,8 +556,7 @@ races_dialog::races_dialog(struct player *pplayer,
   connect(nation_tabs->selectionModel(),
           SIGNAL(selectionChanged(const QItemSelection &,
                                   const QItemSelection &)),
-          SLOT(group_selected(const QItemSelection &,
-                              const QItemSelection &)));
+          SLOT(group_selected(const QItemSelection &)));
 
   ok_button = new QPushButton;
   ok_button->setText(_("Cancel"));
-- 
2.47.2

