OSDN Git Service

QmlDesigner.quickToolBar: fix for Image
authorThomas Hartmann <Thomas.Hartmann@nokia.com>
Wed, 27 Jul 2011 09:39:03 +0000 (11:39 +0200)
committerThomas Hartmann <Thomas.Hartmann@nokia.com>
Wed, 27 Jul 2011 09:40:07 +0000 (11:40 +0200)
commitef71dcc80de3bad403e1c9002217ab82faf5264a
treebbf85f4b85d1910d6ff3654e69552f60d49c5473
parent422d825dc251b2f9f4c1feb9a2c2ed242566ca17
QmlDesigner.quickToolBar: fix for Image

If no source is defined we set an empty source.
Before we took the source from the last image object which was
confusing.

Task-number: QTCREATORBUG-2714
Change-Id: If9535ffa4dc7abe0767d8aee5629c46de4df9825
Reviewed-on: http://codereview.qt.nokia.com/2265
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
src/libs/qmleditorwidgets/contextpanewidgetimage.cpp