mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-07 21:51:25 -07:00
Implement an option to disable confirmation of torrent recheck
This commit is contained in:
parent
647140c7c7
commit
7474c05209
4 changed files with 22 additions and 4 deletions
|
@ -1894,6 +1894,16 @@ void Preferences::setConfirmTorrentDeletion(bool enabled)
|
|||
setValue("Preferences/Advanced/confirmTorrentDeletion", enabled);
|
||||
}
|
||||
|
||||
bool Preferences::confirmTorrentRecheck() const
|
||||
{
|
||||
return value("Preferences/Advanced/confirmTorrentRecheck", true).toBool();
|
||||
}
|
||||
|
||||
void Preferences::setConfirmTorrentRecheck(bool enabled)
|
||||
{
|
||||
setValue("Preferences/Advanced/confirmTorrentRecheck", enabled);
|
||||
}
|
||||
|
||||
TrayIcon::Style Preferences::trayIconStyle() const
|
||||
{
|
||||
return TrayIcon::Style(value("Preferences/Advanced/TrayIconStyle", TrayIcon::NORMAL).toInt());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue