mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 07:27:22 -06:00
committed by
GitHub
parent
ebad387c1a
commit
cfd0c5433e
@@ -996,6 +996,18 @@ void Preferences::resolvePeerHostNames(const bool resolve)
|
||||
setValue(u"Preferences/Connection/ResolvePeerHostNames"_qs, resolve);
|
||||
}
|
||||
|
||||
#if (defined(Q_OS_UNIX) && !defined(Q_OS_MACOS))
|
||||
bool Preferences::useSystemIcons() const
|
||||
{
|
||||
return value(u"Preferences/Advanced/useSystemIconTheme"_qs, false);
|
||||
}
|
||||
|
||||
void Preferences::useSystemIcons(const bool enabled)
|
||||
{
|
||||
setValue(u"Preferences/Advanced/useSystemIconTheme"_qs, enabled);
|
||||
}
|
||||
#endif
|
||||
|
||||
bool Preferences::isRecursiveDownloadEnabled() const
|
||||
{
|
||||
return !value(u"Preferences/Advanced/DisableRecursiveDownload"_qs, false);
|
||||
|
||||
@@ -281,6 +281,10 @@ public:
|
||||
void resolvePeerCountries(bool resolve);
|
||||
bool resolvePeerHostNames() const;
|
||||
void resolvePeerHostNames(bool resolve);
|
||||
#if (defined(Q_OS_UNIX) && !defined(Q_OS_MACOS))
|
||||
bool useSystemIcons() const;
|
||||
void useSystemIcons(bool enabled);
|
||||
#endif
|
||||
bool isRecursiveDownloadEnabled() const;
|
||||
void setRecursiveDownloadEnabled(bool enable);
|
||||
#ifdef Q_OS_WIN
|
||||
|
||||
Reference in New Issue
Block a user