Feature #1468 » 0087-Qt-Drop-sc_orig-from-class-fc_sc_button.patch
| 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 | ||