Change str.indexOf(rx) to rx.indexIn(str)
authorManuel Nickschas <sputnick@quassel-irc.org>
Thu, 12 Feb 2009 00:59:49 +0000 (01:59 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Thu, 12 Feb 2009 01:01:07 +0000 (02:01 +0100)
commit7d7c70c5c27be65af2d53df5cca27265c2d1d666
treec931a7f6e9c3b13373129bd395fb08cc4d1196a5
parentf69d3d8fb4589d30b33cfb83a3b68a34517fc852
Change str.indexOf(rx) to rx.indexIn(str)

This might (!) fix the freezes encountered when running a binary compiled against Qt 4.4
with Qt 4.5. Not tested though.

cf. http://labs.trolltech.com/blogs/2008/11/04/910/
src/qtui/chatitem.cpp