Qt/GeckoCodeWidget: Autosort list and fix accessing the wrong element

This commit is contained in:
spycrab
2018-05-29 03:36:35 +02:00
parent 62adfaa01c
commit a00250bfe6
2 changed files with 11 additions and 16 deletions

View File

@ -45,7 +45,6 @@ private:
void RemoveCode();
void DownloadCodes();
void SaveCodes();
void SortCodesLexicographically();
const UICommon::GameFile& m_game;
std::string m_game_id;
@ -61,7 +60,6 @@ private:
QPushButton* m_edit_code;
QPushButton* m_remove_code;
QPushButton* m_download_codes;
QPushButton* m_sort_codes;
std::vector<Gecko::GeckoCode> m_gecko_codes;
bool m_restart_required;
};