mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-20 10:19:23 +02:00
Qt6: fixed build with define QT_NATIVE_DIALOGS.
This commit is contained in:
parent
22d005974b
commit
d35e81595b
@ -469,7 +469,7 @@ begin
|
||||
|
||||
Flags := 0;
|
||||
if not (ofOverwritePrompt in TSaveDialog(FileDialog).Options) then
|
||||
Flags := Flags or QFileDialogDontConfirmOverwrite;
|
||||
Flags := Flags or QFileDialogOptionDontConfirmOverwrite;
|
||||
{$IFDEF HASX11}
|
||||
Clipboard.BeginX11SelectionLock;
|
||||
try
|
||||
@ -543,7 +543,7 @@ begin
|
||||
|
||||
Flags := 0;
|
||||
if (ofReadOnly in TOpenDialog(FileDialog).Options) then
|
||||
Flags := Flags or QFileDialogReadOnly;
|
||||
Flags := Flags or QFileDialogOptionReadOnly;
|
||||
|
||||
if (ofAllowMultiSelect in TOpenDialog(FileDialog).Options) then
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user