mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 06:28:03 -06:00
Fix previous commit.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user