fix webpreview for urls with url-encoded chars
authorDaniel Albers <daniel@lbers.com>
Thu, 8 Oct 2009 18:30:11 +0000 (20:30 +0200)
committerDaniel Albers <daniel@lbers.com>
Thu, 8 Oct 2009 18:30:11 +0000 (20:30 +0200)
commitd36a37a4a2e2fa889cf12d596258f9ba4dfcc5ed
tree13b66617a665634dd0f03afc8f07af3c82a5ce5e
parent906391224228274450914361efd104630827e580
fix webpreview for urls with url-encoded chars

Also switches argument of WebPreviewItem() and friends from QString to QUrl to make sure the caller takes care of the appropriate string conversion.
Test case: http://de.wikipedia.org/wiki/M√ľnchen http://de.wikipedia.org/wiki/M%C3%BCnchen
src/qtui/chatitem.cpp
src/qtui/chatscene.cpp
src/qtui/chatscene.h
src/qtui/webpreviewitem.cpp
src/qtui/webpreviewitem.h