Qt: Avoid crash in qtthemes when changing application style programatically.

git-svn-id: trunk@17698 -
This commit is contained in:
zeljko 2008-12-06 11:19:19 +00:00
parent a3eafb41c7
commit fb451cc154

View File

@ -70,8 +70,7 @@ implementation
function TQtThemeServices.GetStyle: QStyleH;
begin
if FStyle = nil then
FStyle := QApplication_style();
FStyle := QApplication_style();
Result := FStyle;
end;