equal
deleted
inserted
replaced
151 if (err) |
151 if (err) |
152 return QString(); |
152 return QString(); |
153 |
153 |
154 QString path = getFullPath(ref); |
154 QString path = getFullPath(ref); |
155 |
155 |
156 QString appName = QCoreApplication::applicationName(); |
156 if (type == DataLocation || type == CacheLocation) { |
157 if (!appName.isEmpty() && (type == DataLocation || type == CacheLocation)) |
157 if (QCoreApplication::organizationName().isEmpty() == false) |
158 path += QLatin1Char('/') + appName; |
158 path += QLatin1Char('/') + QCoreApplication::organizationName(); |
|
159 if (QCoreApplication::applicationName().isEmpty() == false) |
|
160 path += QLatin1Char('/') + QCoreApplication::applicationName(); |
|
161 } |
159 |
162 |
160 return path; |
163 return path; |
161 } |
164 } |
162 |
165 |
163 QString QDesktopServices::displayName(StandardLocation type) |
166 QString QDesktopServices::displayName(StandardLocation type) |