Fix warning in fluidlauncher example.
authorFriedemann Kleint <Friedemann.Kleint@digia.com>
Wed, 3 Jul 2013 12:36:05 +0000 (14:36 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 4 Jul 2013 09:57:08 +0000 (11:57 +0200)
commitaf03819e14640bb49c31e093c99a2681bd6ca64d
treea9937a5f364fba1b61e496c15972146063663e04
parent1ce9af6c1c32b20dedc33bd46cde5ee4b34a04c1
Fix warning in fluidlauncher example.

"QFSFileEngine::open: No file name specified" for empty icon.
Change getImage() to return a QImage to avoid leaking QImages.

Change-Id: I0ff3843b32d8faad9dd01bf81a5496a701d555cf
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
examples/svg/embedded/fluidlauncher/demoapplication.cpp
examples/svg/embedded/fluidlauncher/demoapplication.h
examples/svg/embedded/fluidlauncher/fluidlauncher.cpp