Fix compiler warnings in Qt Designer.
authorFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Mon, 2 Mar 2015 09:23:02 +0000 (10:23 +0100)
committerFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Mon, 2 Mar 2015 09:41:13 +0000 (09:41 +0000)
commitffb5ece8da10fa6d3ebf73a020ddd2a1dcf48a54
tree8a035efda1399104c896632acd99d5d22c3a05d6
parent3593380d9d88d0d73eae9ff87a02ae2d975333ea
Fix compiler warnings in Qt Designer.

shared/widgetdatabase.cpp:371:66: warning: typedef 'NameItemMap' locally defined but not used [-Wunused-local-typedefs]
tools/designer/src/lib/shared/previewmanager.cpp:820:16: warning: converting ‘false’ to pointer type ‘QWidget*’ [-Wconversion-null]

Task-number: QTBUG-44747
Change-Id: I9781a8cbce1def5229fe0ed7071c04ae6880b039
Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com>
tools/designer/src/lib/shared/previewmanager.cpp
tools/designer/src/lib/shared/widgetdatabase.cpp