From 40e2e264e8296bd733a7741d697bbd2d98f0af9d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 14 Apr 2016 16:13:02 +0300 Subject: Remove unused method. --- src/gui/models/updatelistmodel.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src') 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(); -- cgit v1.2.3-60-g2f50