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>
Tue, 22 Jun 2010 20:32:40 +0000 (22:32 +0200)
commite3ed29ad5b799fa1425c137d2296f48ce5995a5b
treeaae10deb102e9dfd89f6542f5c1d888aa9ff0558
parent500e13cf3ce1a476952cb1086aa448cfaa0d3ba6
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