mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 06:57:24 -06:00
Suppress function unused warning
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user