mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 20:39:39 +02:00
Qt: Fixed TQtWidget.setCursor() crash under MacOsX
git-svn-id: trunk@14990 -
This commit is contained in:
parent
8e27baa639
commit
0e6090e646
@ -2366,6 +2366,10 @@ end;
|
||||
|
||||
procedure TQtWidget.SetCursor(const ACursor: QCursorH);
|
||||
begin
|
||||
{$IFDEF DARWIN}
|
||||
if not QWidget_isVisible(Widget) then
|
||||
exit;
|
||||
{$ENDIF}
|
||||
if ACursor <> nil then
|
||||
QWidget_setCursor(Widget, ACursor)
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user