Skip to content

Commit

Permalink
Update include path for CoreFoundation/CFBundle.h
Browse files Browse the repository at this point in the history
  • Loading branch information
pcolby committed Apr 15, 2023
1 parent 3aa111a commit af88715
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/os/bundleinfo.cpp
Expand Up @@ -3,7 +3,7 @@

#include "bundleinfo.h"

#include <CFBundle.h>
#include <CoreFoundation/CFBundle.h>
#include <QVarLengthArray>

BundleInfo::BundleInfo(const QString &fileName)
Expand All @@ -24,7 +24,7 @@ bool BundleInfo::isValid() const
}

QString getBundleInfo(const CFBundleRef bundle, const CFStringRef &key)
{
{
const CFTypeRef ref = CFBundleGetValueForInfoDictionaryKey(bundle, key);
if ((ref == NULL) || (CFGetTypeID(ref) != CFStringGetTypeID())) {
return QString(); // Not a string.
Expand Down

0 comments on commit af88715

Please sign in to comment.