aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/setup/libkvisetup.cpp
diff options
context:
space:
mode:
authorGravatar Noldor2008-05-15 17:35:44 +0000
committerGravatar Noldor2008-05-15 17:35:44 +0000
commitb2caa0ba0c49ea8c1909d9929e39727a43448f1c (patch)
tree1bd0dadec55ddedba2f0ec01d5566f0fe52d472a /src/modules/setup/libkvisetup.cpp
parentfix (diff)
downloadKVIrc-b2caa0ba0c49ea8c1909d9929e39727a43448f1c.tar.gz
KVIrc-b2caa0ba0c49ea8c1909d9929e39727a43448f1c.tar.bz2
KVIrc-b2caa0ba0c49ea8c1909d9929e39727a43448f1c.zip
QT4 port commit :) (modules) (wip)
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@1786 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/setup/libkvisetup.cpp')
-rw-r--r--src/modules/setup/libkvisetup.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/setup/libkvisetup.cpp b/src/modules/setup/libkvisetup.cpp
index e20cf4546..df829915e 100644
--- a/src/modules/setup/libkvisetup.cpp
+++ b/src/modules/setup/libkvisetup.cpp
@@ -76,7 +76,7 @@ KVIMODULEEXPORTFUNC void setup_finish()
KVI_OPTION_STRING(KviOption_stringIncomingPath) = g_szChoosenIncomingDirectory;
// Reset the quit message and the real name... if they contain the KVIrc version
// then probably the user hasn't even edited them.
- if(KVI_OPTION_STRING(KviOption_stringQuitMessage).find("KVIrc",0,false) != -1)
+ if(KVI_OPTION_STRING(KviOption_stringQuitMessage).indexOf("KVIrc",0,Qt::CaseInsensitive) != -1)
KVI_OPTION_STRING(KviOption_stringQuitMessage) = KVI_DEFAULT_QUIT_MESSAGE;
// We deserve to change the user's part message in something nice :)
KVI_OPTION_STRING(KviOption_stringPartMessage) = KVI_DEFAULT_PART_MESSAGE;