mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-11 15:56:17 -07:00
Allow to disable confirmation of Pause/Resume All
PR #19067. Closes #18155.
This commit is contained in:
parent
83e6afcb71
commit
cf415dd7fe
5 changed files with 44 additions and 14 deletions
|
@ -1224,6 +1224,16 @@ void Preferences::setConfirmRemoveAllTags(const bool enabled)
|
|||
setValue(u"Preferences/Advanced/confirmRemoveAllTags"_qs, enabled);
|
||||
}
|
||||
|
||||
bool Preferences::confirmPauseAndResumeAll() const
|
||||
{
|
||||
return value(u"GUI/ConfirmActions/PauseAndResumeAllTorrents"_qs, true);
|
||||
}
|
||||
|
||||
void Preferences::setConfirmPauseAndResumeAll(const bool enabled)
|
||||
{
|
||||
setValue(u"GUI/ConfirmActions/PauseAndResumeAllTorrents"_qs, enabled);
|
||||
}
|
||||
|
||||
#ifndef Q_OS_MACOS
|
||||
TrayIcon::Style Preferences::trayIconStyle() const
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue