mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-28 22:20:25 +02:00
Qt: disallow QFileDialog constructor to use native dialogs out of static functions. fixes #16532
git-svn-id: trunk@27257 -
This commit is contained in:
parent
02308cd07e
commit
404ca55078
@ -329,10 +329,9 @@ begin
|
||||
QWidget_setWindowFlags(FileDialog.Widget, QtDialog or QtWindowSystemMenuHint or QtCustomizeWindowHint);
|
||||
{$endif}
|
||||
|
||||
{$note qt-4.5.0,qt-4.5.1 currently supports macosx only,
|
||||
others are non native when NOT QT_NATIVE_DIALOGS setted up.}
|
||||
{$note WE MUST USE NON NATIVE DIALOGS HERE, OTHERWISE NO SIGNALS #16532.}
|
||||
QFileDialog_setOption(QFileDialogH(FileDialog.Widget),
|
||||
QFileDialogDontUseNativeDialog, False);
|
||||
QFileDialogDontUseNativeDialog, True);
|
||||
|
||||
FileDialog.AttachEvents;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user