Project

General

Profile

Bug #1652 ยป 0022-Qt-Fix-xxx_selected-SLOT-definitions.patch

Marko Lindqvist, 08/09/2025 04:04 AM

View differences:

client/gui-qt/dialogs.cpp
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,
......
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"));
    (1-1/1)