mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-12 16:23:07 -07:00
Add 'never show again' checkbox/pref to auto-exit confirm dialog
This commit is contained in:
parent
39ad4d65e8
commit
07599b5923
7 changed files with 103 additions and 42 deletions
|
@ -1385,6 +1385,16 @@ void Preferences::setShutdownqBTWhenDownloadsComplete(bool shutdown)
|
|||
setValue("Preferences/Downloads/AutoShutDownqBTOnCompletion", shutdown);
|
||||
}
|
||||
|
||||
bool Preferences::dontConfirmAutoExit() const
|
||||
{
|
||||
return value("Preferences/Downloads/DontConfirmAutoExit", false).toBool();
|
||||
}
|
||||
|
||||
void Preferences::setDontConfirmAutoExit(bool dontConfirmAutoExit)
|
||||
{
|
||||
setValue("Preferences/Downloads/DontConfirmAutoExit", dontConfirmAutoExit);
|
||||
}
|
||||
|
||||
uint Preferences::diskCacheSize() const
|
||||
{
|
||||
uint size = value("Preferences/Downloads/DiskWriteCacheSize", 0).toUInt();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue