Fixed a potential memory leak on XP
Fixed a potential memory leak on XP

Calling OpenThemeData directly causes a leak when
changing the style as we do not call the corresponding CloseThemeData.

Task-number:257916

Reviewed-by:prasanth

igor-sfdc/qt-wk,igor-sfdc/qt-wk,KDE/qt,KDE/qt,pruiz/wkhtmltopdf-qt,RLovelett/qt,KDE/qt,pruiz/wkhtmltopdf-qt,igor-sfdc/qt-wk,radekp/qt,KDE/qt,RLovelett/qt,RLovelett/qt,RLovelett/qt,RLovelett/qt,pruiz/wkhtmltopdf-qt,pruiz/wkhtmltopdf-qt,KDE/qt,pruiz/wkhtmltopdf-qt,radekp/qt,igor-sfdc/qt-wk,radekp/qt,igor-sfdc/qt-wk,RLovelett/qt,KDE/qt,radekp/qt,pruiz/wkhtmltopdf-qt,RLovelett/qt,pruiz/wkhtmltopdf-qt,radekp/qt,pruiz/wkhtmltopdf-qt,pruiz/wkhtmltopdf-qt,igor-sfdc/qt-wk,pruiz/wkhtmltopdf-qt,RLovelett/qt,KDE/qt,igor-sfdc/qt-wk,radekp/qt,radekp/qt,RLovelett/qt,radekp/qt,KDE/qt,igor-sfdc/qt-wk,radekp/qt,igor-sfdc/qt-wk,igor-sfdc/qt-wk,RLovelett/qt,pruiz/wkhtmltopdf-qt,RLovelett/qt,igor-sfdc/qt-wk,radekp/qt