Project

General

Profile

Feature #1468 » 0016-Qt-Drop-sc_orig-from-class-fc_sc_button.patch

S3_1 - Marko Lindqvist, 05/28/2025 05:54 AM

View differences:

client/gui-qt/shortcuts.cpp
**************************************************************************/
fc_sc_button::fc_sc_button(fc_shortcut *s): QPushButton()
{
sc_orig = s;
fc_shortcut *sc_orig = s;
sc = new fc_shortcut;
sc->id = sc_orig->id;
sc->key = sc_orig->key;
client/gui-qt/shortcuts.h
fc_sc_button();
fc_sc_button(fc_shortcut *s);
fc_shortcut *sc;
fc_shortcut *sc_orig;
void show_info(QString str);
private slots:
void popup_error();
......
void edit_shortcut();
};
#endif /* FC__SHORTCUSDLG_H */
#endif // FC__SHORTCUTSDLG_H
(2-2/2)