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>
bb10
Jan Grulich 2017-12-18 13:10:57 +01:00
parent ccc9cd4404
commit f76e3712f1
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ class QFlatpakFileDialog : public QPlatformFileDialogHelper
Q_OBJECT
Q_DECLARE_PRIVATE(QFlatpakFileDialog)
public:
enum ConditionType {
enum ConditionType : uint {
GlobalPattern = 0,
MimeType = 1
};