summaryrefslogtreecommitdiff
path: root/src/gui/models
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-14 16:13:02 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-14 16:13:02 +0300
commit40e2e264e8296bd733a7741d697bbd2d98f0af9d (patch)
tree6ec19e5f73570cd3d74b970fc321af9360227a03 /src/gui/models
parent585d68a19e616ec2645c9a297df94e369974fad8 (diff)
downloadmv-40e2e264e8296bd733a7741d697bbd2d98f0af9d.tar.gz
mv-40e2e264e8296bd733a7741d697bbd2d98f0af9d.tar.bz2
mv-40e2e264e8296bd733a7741d697bbd2d98f0af9d.tar.xz
mv-40e2e264e8296bd733a7741d697bbd2d98f0af9d.zip
Remove unused method.
Diffstat (limited to 'src/gui/models')
-rw-r--r--src/gui/models/updatelistmodel.h7
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();