aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/url
diff options
context:
space:
mode:
authorGravatar Noldor2008-05-22 18:38:41 +0000
committerGravatar Noldor2008-05-22 18:38:41 +0000
commit93b866f75997694f2ae3714260343807dec86c23 (patch)
tree9db5e01ceb733e3681e75419e897362b337baf21 /src/modules/url
parentcompilation fix (diff)
downloadKVIrc-93b866f75997694f2ae3714260343807dec86c23.tar.gz
KVIrc-93b866f75997694f2ae3714260343807dec86c23.tar.bz2
KVIrc-93b866f75997694f2ae3714260343807dec86c23.zip
more qt4 port
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@1842 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/url')
-rw-r--r--src/modules/url/libkviurl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/url/libkviurl.cpp b/src/modules/url/libkviurl.cpp
index f3789f307..3ab49bcd9 100644
--- a/src/modules/url/libkviurl.cpp
+++ b/src/modules/url/libkviurl.cpp
@@ -696,7 +696,7 @@ int check_url(KviWindow *w,const QString &szUrl) // return 0 if no occurence of
for(KviStr *tmpi=g_pBanList->first();tmpi;tmpi=g_pBanList->next())
{
- if (szUrl.find(QString(tmpi->ptr())) != -1) tmp++;
+ if (szUrl.indexOf(QString(tmpi->ptr()),Qt::CaseInsensitive) != -1) tmp++;
}
if (tmp > 0) return tmp;