diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/connectionlistmodel.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/connectionlistmodel.cpp b/core/connectionlistmodel.cpp index aaa829949..b4c0f0ea8 100644 --- a/core/connectionlistmodel.cpp +++ b/core/connectionlistmodel.cpp @@ -53,5 +53,6 @@ void ConnectionListModel::removeAllAddresses() int ConnectionListModel::indexOf(QString address) { - return m_addresses.indexOf(address); + const QRegExp re(address, Qt::CaseInsensitive); + return m_addresses.indexOf(re); } |