mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 07:27:22 -06:00
Option to disallow bringing the torrent dialog to the front.
This commit is contained in:
@@ -282,6 +282,14 @@ public:
|
||||
setValue("Preferences/Downloads/NewAdditionDialog", b);
|
||||
}
|
||||
|
||||
bool AdditionDialogFront() const {
|
||||
return value(QString::fromUtf8("Preferences/Downloads/NewAdditionDialogFront"), true).toBool();
|
||||
}
|
||||
|
||||
void AdditionDialogFront(bool b) {
|
||||
setValue("Preferences/Downloads/NewAdditionDialogFront", b);
|
||||
}
|
||||
|
||||
bool addTorrentsInPause() const {
|
||||
return value(QString::fromUtf8("Preferences/Downloads/StartInPause"), false).toBool();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user