diff options
Diffstat (limited to 'core/connectionlistmodel.cpp')
-rw-r--r-- | core/connectionlistmodel.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/connectionlistmodel.cpp b/core/connectionlistmodel.cpp index 04d1d5909..aaa829949 100644 --- a/core/connectionlistmodel.cpp +++ b/core/connectionlistmodel.cpp @@ -50,3 +50,8 @@ void ConnectionListModel::removeAllAddresses() m_addresses.clear(); endRemoveRows(); } + +int ConnectionListModel::indexOf(QString address) +{ + return m_addresses.indexOf(address); +} |