1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-23 13:04:23 +00:00

Remove unused variable

This commit is contained in:
Chocobo1 2016-12-05 20:20:01 +08:00
parent 7f2f78a816
commit 0b313e0bc3

View File

@ -372,7 +372,6 @@ QString Utils::Fs::QDesktopServicesDataLocation()
OSErr err = FSFindFolder(kUserDomain, kApplicationSupportFolderType, false, &ref);
if (err)
return QString();
QString path;
QByteArray ba(2048, 0);
if (FSRefMakePath(&ref, reinterpret_cast<UInt8 *>(ba.data()), ba.size()) == noErr)
result = QString::fromUtf8(ba).normalized(QString::NormalizationForm_C);