mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-23 13:29:47 +02:00
Qt: avoid crash on heavy usage of modal forms under X11.
git-svn-id: trunk@18252 -
This commit is contained in:
parent
7467771ed0
commit
ee30551a12
@ -259,7 +259,15 @@ begin
|
|||||||
|
|
||||||
We can ofcource hide widget, set flags here and then show it, but we dont
|
We can ofcource hide widget, set flags here and then show it, but we dont
|
||||||
want window flickering :)
|
want window flickering :)
|
||||||
|
|
||||||
|
Under X11 we must call syncX() since heavy usage of modal forms can segfault
|
||||||
|
sometimes inside qt4 libs.
|
||||||
}
|
}
|
||||||
|
{$IFNDEF QTOPIA}
|
||||||
|
{$IFDEF LINUX}
|
||||||
|
QApplication_syncX();
|
||||||
|
{$ENDIF}
|
||||||
|
{$ENDIF}
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{------------------------------------------------------------------------------
|
{------------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user