Qt Widgets Designer: Fix Axivion(SV149/SV150) Qt-ReturningDataFromTemporary
Change the temporary icon cache to be members of the form builder class
instead of stack variables and clear them before/after loading.
As the code was, they did not have any effect since the property sheets
for QDesignerFormBuilder's use cases (widget box/preview) never had
caches set. Remove the null check to ensure the cache is actually used.
Task-number: QTBUG-146052
Axivion-Id: qt_Add-ons_qtdesigner_dev_linux:SV149
Axivion-Id: qt_Add-ons_qtdesigner_dev_linux:SV150
Change-Id: I21ab2a24cea5b8cdf205cabdba620a8437f15b97
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>