Fix compilation of examples with QStringBuilder
authorOlivier Goffart <ogoffart@woboq.com>
Sat, 25 Feb 2012 18:23:06 +0000 (19:23 +0100)
committerQt by Nokia <qt-info@nokia.com>
Sat, 25 Feb 2012 20:30:45 +0000 (21:30 +0100)
commitffa072655df50ba0f6d21d0696750f06abf20e4c
treee14a3f397102660ad9fc2df387b32bb50c3b8f8f
parentd91add71e79dcae45f9cac02f6d3d542afee899c
Fix compilation of examples with QStringBuilder

In sub-attack an interview, one can't make two implicit conversions at
once, so explicitly convert to the right type.

The change in the torrent example is required because of
https://codereview.qt-project.org/16168 (commit 9491272)
But in that case, using a QByteArray is better anyway.

Change-Id: Ieed22ac7f0d700d5ba5d1e70af3db4dd6c139c8f
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
examples/animation/sub-attaq/pixmapitem.cpp
examples/itemviews/interview/model.cpp
examples/network/torrent/trackerclient.cpp