mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 10:19:36 +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
|
||||
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;
|
||||
|
||||
{------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user