Commit 8ed994f7 authored by Tor Arne Vestbø's avatar Tor Arne Vestbø Committed by Jani Heikkinen
Browse files

iOS: Make sure QStandardPaths::displayName() is defined


The file qstandardpaths_ios.mm doesn't have an implementation for
this function, only (the wrongly named) qstandardpaths_mac.cpp
does. There's no Foundation API to get the directory name, so
we fall back to the hard-coded strings like all other platforms.

Change-Id: I6dcfeb6a0e5860dd0d4e9a0cd334b2c2181a0004
Reviewed-by: default avatarRichard Moe Gustavsen <richard.gustavsen@theqtcompany.com>
Showing with 1 addition and 1 deletion
...@@ -526,7 +526,7 @@ QString QStandardPaths::findExecutable(const QString &executableName, const QStr ...@@ -526,7 +526,7 @@ QString QStandardPaths::findExecutable(const QString &executableName, const QStr
an empty QString if no relevant location can be found. an empty QString if no relevant location can be found.
*/ */
#if !defined(Q_OS_MAC) && !defined(QT_BOOTSTRAPPED) #if !defined(Q_OS_OSX) && !defined(QT_BOOTSTRAPPED)
QString QStandardPaths::displayName(StandardLocation type) QString QStandardPaths::displayName(StandardLocation type)
{ {
switch (type) { switch (type) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment