mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-13 16:53:08 -07:00
Suppress function unused warning
This commit is contained in:
parent
ecd23d0abd
commit
1c9696b68e
2 changed files with 3 additions and 0 deletions
|
@ -61,12 +61,14 @@
|
|||
|
||||
namespace
|
||||
{
|
||||
#ifdef Q_OS_WIN
|
||||
QString makeProfileID(const QString &profilePath, const QString &profileName)
|
||||
{
|
||||
return profilePath.isEmpty()
|
||||
? profileName
|
||||
: profileName + QLatin1Char('@') + Utils::Fs::toValidFileSystemName(profilePath, false, {});
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
Preferences *Preferences::m_instance = nullptr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue