mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-13 16:53:08 -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
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue