diff options
| author | 2008-08-23 16:46:53 +0000 | |
|---|---|---|
| committer | 2008-08-23 16:46:53 +0000 | |
| commit | 62b055b7874048f8c3f0b58ce5b2c74ddeb7fab7 (patch) | |
| tree | 7f90ec82a2866471af6033da940b8b1ea196877d /src/modules/help/index.cpp | |
| parent | Self-celebration (diff) | |
| download | KVIrc-62b055b7874048f8c3f0b58ce5b2c74ddeb7fab7.tar.gz KVIrc-62b055b7874048f8c3f0b58ce5b2c74ddeb7fab7.tar.bz2 KVIrc-62b055b7874048f8c3f0b58ce5b2c74ddeb7fab7.zip | |
more qt4 porting (misc + removing qt3 listview)
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@2281 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/help/index.cpp')
| -rwxr-xr-x | src/modules/help/index.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/help/index.cpp b/src/modules/help/index.cpp index 2ab2dbe3c..a9a028876 100755 --- a/src/modules/help/index.cpp +++ b/src/modules/help/index.cpp @@ -477,8 +477,8 @@ bool Index::searchForPattern( const QStringList &patterns, const QStringList &wo qWarning( warn.toUtf8().data() ); return FALSE; } - else debug("Open file %s",fileName.utf8().data()); - debug("Patterns %s and words %s",patterns.join(",").utf8().data(),words.join(",").utf8().data()); + else debug("Open file %s",fileName.toUtf8().data()); + debug("Patterns %s and words %s",patterns.join(",").toUtf8().data(),words.join(",").toUtf8().data()); wordNum = 3; miniDict.clear(); @@ -545,7 +545,7 @@ bool Index::searchForPattern( const QStringList &patterns, const QStringList &wo aIt = a.begin(); while ( aIt != a.end() ) { - if ( b.find( *aIt + 1 ) != b.end() ) { + if ( b.indexOf( *aIt + 1 ) != b.at(b.count()-1) ) { (*aIt)++; ++aIt; } else { |
