QFileSystemEngine: fix duplicate flag in OR expression

Change-Id: Ib4df3ca1cff2ff2cd09515b94e63741a32b2580b
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
This commit is contained in:
Anton Kudryavtsev 2016-01-12 11:27:13 +03:00
parent 6be65702f8
commit 6c91ed244e

View File

@ -113,7 +113,7 @@ static bool isPackage(const QFileSystemMetaData &data, const QFileSystemEntry &e
// Find if an application other than Finder claims to know how to handle the package
QCFType<CFURLRef> application;
LSGetApplicationForURL(url,
kLSRolesEditor|kLSRolesViewer|kLSRolesViewer,
kLSRolesEditor|kLSRolesViewer,
NULL,
&application);