mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-13 00:33:09 -07:00
Add an option to disable icons in menus
This commit is contained in:
parent
529dd6e3a8
commit
614376ed64
5 changed files with 30 additions and 0 deletions
|
@ -234,6 +234,16 @@ void Preferences::setCloseToTrayNotified(const bool b)
|
|||
{
|
||||
setValue("Preferences/General/CloseToTrayNotified", b);
|
||||
}
|
||||
|
||||
bool Preferences::iconsInMenusEnabled() const
|
||||
{
|
||||
return value("Preferences/Advanced/EnableIconsInMenus", true).toBool();
|
||||
}
|
||||
|
||||
void Preferences::setIconsInMenusEnabled(const bool enable)
|
||||
{
|
||||
setValue("Preferences/Advanced/EnableIconsInMenus", enable);
|
||||
}
|
||||
#endif // Q_OS_MACOS
|
||||
|
||||
bool Preferences::isToolbarDisplayed() const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue