Fix support for flatpak FileChooser portal
FileChooser portal expects filter property in a(sa(us)) format but by default, using enum, we will end up with a(sa(is)), thus we have to specify format for the enum. Change-Id: I7de971197a0c77d6dca092edda7d428d90394574 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
ccc9cd4404
commit
f76e3712f1
@ -51,7 +51,7 @@ class QFlatpakFileDialog : public QPlatformFileDialogHelper
|
||||
Q_OBJECT
|
||||
Q_DECLARE_PRIVATE(QFlatpakFileDialog)
|
||||
public:
|
||||
enum ConditionType {
|
||||
enum ConditionType : uint {
|
||||
GlobalPattern = 0,
|
||||
MimeType = 1
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user