summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolf-Michael Bolle <wolf-michael.bolle@nokia.com>2012-01-10 15:13:25 +0100
committerDavid Faure <faure@kde.org>2012-01-10 15:32:01 +0100
commit684a426ec6992e4f52a808c534d6c08e17b97252 (patch)
tree92d7d9ac94fb7ebd368ec2e01ee8de8c1e0f9d3b
parentcb50b0e557b2a31f7eb6a744263ca51917e541e5 (diff)
Make code compile on MacOS with current QtSDK.
Change-Id: Ib76150bf04cfe66f6dfac08408ba9492155db875 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: David Faure <faure@kde.org>
-rw-r--r--src/mimetypes/inqt5/qstandardpaths_mac.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mimetypes/inqt5/qstandardpaths_mac.cpp b/src/mimetypes/inqt5/qstandardpaths_mac.cpp
index bba0783..9304795 100644
--- a/src/mimetypes/inqt5/qstandardpaths_mac.cpp
+++ b/src/mimetypes/inqt5/qstandardpaths_mac.cpp
@@ -98,7 +98,7 @@ static QString getFullPath(const FSRef &ref)
return QString();
}
-static QString macLocation(StandardLocation type, short domain)
+static QString macLocation(QStandardPaths::StandardLocation type, short domain)
{
// http://developer.apple.com/documentation/Carbon/Reference/Folder_Manager/Reference/reference.html
FSRef ref;
@@ -108,7 +108,7 @@ static QString macLocation(StandardLocation type, short domain)
QString path = getFullPath(ref);
- if (type == DataLocation || type == CacheLocation) {
+ if (type == QStandardPaths::DataLocation || type == QStandardPaths::CacheLocation) {
if (!QCoreApplication::organizationName().isEmpty())
path += QLatin1Char('/') + QCoreApplication::organizationName();
if (!QCoreApplication::applicationName().isEmpty())