Browse Source

Remove unused variable

adaptive-webui-19844
Chocobo1 8 years ago
parent
commit
0b313e0bc3
  1. 1
      src/base/utils/fs.cpp

1
src/base/utils/fs.cpp

@ -372,7 +372,6 @@ QString Utils::Fs::QDesktopServicesDataLocation()
OSErr err = FSFindFolder(kUserDomain, kApplicationSupportFolderType, false, &ref); OSErr err = FSFindFolder(kUserDomain, kApplicationSupportFolderType, false, &ref);
if (err) if (err)
return QString(); return QString();
QString path;
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)
result = QString::fromUtf8(ba).normalized(QString::NormalizationForm_C); result = QString::fromUtf8(ba).normalized(QString::NormalizationForm_C);

Loading…
Cancel
Save