Mac compilation Fix

This commit is contained in:
Christophe Dumez
2010-05-25 18:20:53 +00:00
parent ef0a826180
commit 6b4588ef6d

View File

@@ -85,7 +85,6 @@ QString misc::QDesktopServicesDataLocation() {
QByteArray ba(2048, 0);
if (FSRefMakePath(&ref, reinterpret_cast<UInt8 *>(ba.data()), ba.size()) == noErr)
path = QString::fromUtf8(ba).normalized(QString::NormalizationForm_C);
QString path = getFullPath(ref);
path += QLatin1Char('/') + qApp->applicationName();
return path;
#else