OS X: Fix QStandardPaths::standardLocations()
Task-number: QTBUG-49443 Change-Id: I0699dfd3cb4c710ab96c324219444c6294c9d732 Reviewed-by: Jake Petroules <jake.petroules@theqtcompany.com> Reviewed-by: Milian Wolff <milian.wolff@kdab.com>bb10
parent
be2e993a9a
commit
bc7d0da741
|
|
@ -204,7 +204,7 @@ QStringList QStandardPaths::standardLocations(StandardLocation type)
|
|||
CFRelease(bundleUrl);
|
||||
|
||||
CFURLRef resourcesUrl = CFBundleCopyResourcesDirectoryURL(mainBundle);
|
||||
CFStringRef cfResourcesPath = CFURLCopyPath(bundleUrl);
|
||||
CFStringRef cfResourcesPath = CFURLCopyPath(resourcesUrl);
|
||||
QString resourcesPath = QCFString::toQString(cfResourcesPath);
|
||||
CFRelease(cfResourcesPath);
|
||||
CFRelease(resourcesUrl);
|
||||
|
|
|
|||
Loading…
Reference in New Issue