summaryrefslogtreecommitdiff
path: root/src/gui/models
diff options
context:
space:
mode:
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();