Skip to content

Commit

Permalink
Merge pull request #12687 from fwcd/resource-path-ios
Browse files Browse the repository at this point in the history
ConfigObject: Find resource path on iOS
  • Loading branch information
JoergAtGithub authored Jan 29, 2024
2 parents e3223f4 + 4626e5e commit ef6e366
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/preferences/configobject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,12 @@ QString computeResourcePathImpl() {
else {
qResourcePath = QCoreApplication::applicationDirPath();
}
#elif defined(__APPLE__)
#elif defined(Q_OS_IOS)
// On iOS the bundle contains the resources directly.
else {
qResourcePath = QCoreApplication::applicationDirPath();
}
#elif defined(Q_OS_MACOS)
else if (mixxxDir.cd("../Resources")) {
// Release configuration
qResourcePath = mixxxDir.absolutePath();
Expand Down

0 comments on commit ef6e366

Please sign in to comment.