mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 23:47:23 -06:00
Add an option to disable icons in menus
This commit is contained in:
committed by
sledgehammer999
parent
49cadce253
commit
2b18318e0c
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user