We check pointer after use it. Found with cppcheck.
authorMontel Laurent <kdeqt@yahoo.fr>
Fri, 30 Nov 2012 13:49:46 +0000 (14:49 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Sat, 1 Dec 2012 00:08:47 +0000 (01:08 +0100)
commit5c7ca5d29b3c4c06badef2005d69a0dfa9410fae
tree1f3b8d8b6f6576e332d1da4d8c7dfce8527f1a0f
parent56236342356548c12443afc05a2ea58e7e582849
We check pointer after use it. Found with cppcheck.

Change-Id: I06b6006e122c3bba7144251e85c8c3616e5369da
Reviewed-by: David Faure <david.faure@kdab.com>
src/designer/src/lib/shared/widgetfactory.cpp