diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-14 16:13:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-14 16:13:02 +0300 |
commit | 40e2e264e8296bd733a7741d697bbd2d98f0af9d (patch) | |
tree | 6ec19e5f73570cd3d74b970fc321af9360227a03 /src/gui/models | |
parent | 585d68a19e616ec2645c9a297df94e369974fad8 (diff) | |
download | manaplus-40e2e264e8296bd733a7741d697bbd2d98f0af9d.tar.gz manaplus-40e2e264e8296bd733a7741d697bbd2d98f0af9d.tar.bz2 manaplus-40e2e264e8296bd733a7741d697bbd2d98f0af9d.tar.xz manaplus-40e2e264e8296bd733a7741d697bbd2d98f0af9d.zip |
Remove unused method.
Diffstat (limited to 'src/gui/models')
-rw-r--r-- | src/gui/models/updatelistmodel.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/gui/models/updatelistmodel.h b/src/gui/models/updatelistmodel.h index 7834ad2be..71f78da5e 100644 --- a/src/gui/models/updatelistmodel.h +++ b/src/gui/models/updatelistmodel.h @@ -63,13 +63,6 @@ class UpdateListModel final : public ListModel return mNames[i]; } - HostsGroup &getSelectedGroup(const unsigned int sel) - { - if (sel >= mServer->updateHosts.size()) - return mServer->updateHosts[0]; - mServer->updateHosts[sel]; - } - bool empty() const { return mNames.empty(); |