Option to disallow bringing the torrent dialog to the front.

This commit is contained in:
sledgehammer999
2013-10-06 18:42:56 +03:00
parent 909716849e
commit 08cd1c9b0c
4 changed files with 38 additions and 13 deletions

View File

@@ -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();
}