summaryrefslogtreecommitdiffstats
path: root/core/connectionlistmodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/connectionlistmodel.cpp')
-rw-r--r--core/connectionlistmodel.cpp3
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);
}