FIX: Don't change role of hint window

This commit is contained in:
Alexander Koblov 2016-06-15 17:58:07 +00:00
commit 190b2173cd

View file

@ -430,8 +430,11 @@ end;
var
ClassName: WideString;
begin
ClassName:= Form.ClassName;
QWidget_setWindowRole(QWidget_window(TQtWidget(Form.Handle).GetContainerWidget), @ClassName);
if not (Form is THintWindow) then
begin
ClassName:= Form.ClassName;
QWidget_setWindowRole(QWidget_window(TQtWidget(Form.Handle).GetContainerWidget), @ClassName);
end;
end;
{$ENDIF}