mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-12 16:23:07 -07:00
Replace wrappers in base/utils/fs.h with Profile::SpecialFolders::location()
This commit is contained in:
parent
44b6cb28f6
commit
0bf7fa15c1
9 changed files with 20 additions and 43 deletions
|
@ -174,7 +174,8 @@ void Application::setFileLoggerEnabled(bool value)
|
|||
|
||||
QString Application::fileLoggerPath() const
|
||||
{
|
||||
return settings()->loadValue(KEY_FILELOGGER_PATH, QVariant(Utils::Fs::QDesktopServicesDataLocation() + LOG_FOLDER)).toString();
|
||||
return settings()->loadValue(KEY_FILELOGGER_PATH,
|
||||
QVariant(specialFolderLocation(SpecialFolder::Data) + LOG_FOLDER)).toString();
|
||||
}
|
||||
|
||||
void Application::setFileLoggerPath(const QString &value)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue