mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 06:28:03 -06:00
Replace wrappers in base/utils/fs.h with Profile::SpecialFolders::location()
This commit is contained in:
@@ -77,4 +77,10 @@ private:
|
||||
QScopedPointer<Private::Profile> m_impl;
|
||||
static Profile *m_instance;
|
||||
};
|
||||
|
||||
inline QString specialFolderLocation(SpecialFolder folder)
|
||||
{
|
||||
return Profile::instance().location(folder);
|
||||
}
|
||||
|
||||
#endif // QBT_PROFILE_H
|
||||
|
||||
Reference in New Issue
Block a user