summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qstandardpaths_mac.mm
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/io/qstandardpaths_mac.mm')
-rw-r--r--src/corelib/io/qstandardpaths_mac.mm4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/corelib/io/qstandardpaths_mac.mm b/src/corelib/io/qstandardpaths_mac.mm
index 11b5cc8c37..a95e6a3bb1 100644
--- a/src/corelib/io/qstandardpaths_mac.mm
+++ b/src/corelib/io/qstandardpaths_mac.mm
@@ -230,8 +230,10 @@ QString QStandardPaths::displayName(StandardLocation type)
// The temporary directory returned by the old Carbon APIs is ~/Library/Caches/TemporaryItems,
// the display name of which ("TemporaryItems") isn't translated by the system. The standard
// temporary directory has no reasonable display name either, so use something more sensible.
- if (QStandardPaths::TempLocation == type)
+ if (QStandardPaths::TempLocation == type) {
+ //: macOS: Temporary directory
return QCoreApplication::translate("QStandardPaths", "Temporary Items");
+ }
// standardLocations() may return an empty list on some platforms
if (QStandardPaths::ApplicationsLocation == type)