Skip to content

Commit

Permalink
VersionStore: Make iOS a recognized platform
Browse files Browse the repository at this point in the history
  • Loading branch information
fwcd committed Jan 28, 2024
1 parent cca0663 commit 7d99fd5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/util/versionstore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,12 @@ QString VersionStore::applicationName() {

// static
QString VersionStore::platform() {
#ifdef __APPLE__
#ifdef Q_OS_IOS
QString base = QStringLiteral("iOS");
#elif defined(Q_OS_MACOS)
QString base = QStringLiteral("macOS");
#elif defined(__APPLE__)
QString base = QStringLiteral("Apple");
#elif defined(__LINUX__)
QString base = QStringLiteral("Linux");
#elif defined(__WINDOWS__)
Expand Down

0 comments on commit 7d99fd5

Please sign in to comment.