Fix wordwrap when using Qt > 4.6.3
authorManuel Nickschas <sputnick@quassel-irc.org>
Tue, 22 Jun 2010 17:34:58 +0000 (19:34 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Sun, 5 Sep 2010 09:10:34 +0000 (11:10 +0200)
commitba9fdf3ef19a32ebb380fbff01362f4fedc0d12d
tree7ade08d9699600d06468932381073afdd678af17
parent2c4a26ca25828bd49a26c683f8d44416c384277d
Fix wordwrap when using Qt > 4.6.3

Qt changed the behavior of QTextBoundaryFinder in commit e6ac173, to make it more
consistent and to fix a bug in QtWebkit (cf. https://bugs.webkit.org/show_bug.cgi?id=31076).

Unfortunately this means we have to remove our wordwrap workaround for newer versions of Qt,
so we're adding a runtime version check for that. Please note that if you're using a 4.7 snapshot
that's too old, you'll have broken wordwrap now. Upgrade Qt.
src/qtui/chatlinemodelitem.cpp