Browse Source

Mac compilation Fix

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
8b436f70d6
  1. 1
      src/misc.cpp

1
src/misc.cpp

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

Loading…
Cancel
Save