mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-22 20:44:15 +00:00
Mac compilation Fix
This commit is contained in:
parent
223fd4f0ba
commit
8b436f70d6
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user