mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-12 16:23:07 -07:00
Fix previous commit.
This commit is contained in:
parent
2b8327c807
commit
18ee87f586
6 changed files with 185 additions and 59 deletions
|
@ -1166,12 +1166,12 @@ void Preferences::setShutdownqBTWhenDownloadsComplete(bool shutdown)
|
|||
|
||||
bool Preferences::dontConfirmAutoExit() const
|
||||
{
|
||||
return value("Preferences/Downloads/DontConfirmAutoExit", false).toBool();
|
||||
return value("ShutdownConfirmDlg/DontConfirmAutoExit", false).toBool();
|
||||
}
|
||||
|
||||
void Preferences::setDontConfirmAutoExit(bool dontConfirmAutoExit)
|
||||
{
|
||||
setValue("Preferences/Downloads/DontConfirmAutoExit", dontConfirmAutoExit);
|
||||
setValue("ShutdownConfirmDlg/DontConfirmAutoExit", dontConfirmAutoExit);
|
||||
}
|
||||
|
||||
uint Preferences::diskCacheSize() const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue