mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-10-22 18:56:08 +03:00
Remove unused variable
This commit is contained in:
parent
9f6a0882e2
commit
b05a23e1ab
1 changed files with 0 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue