mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 01:03:08 -07:00
- Added some RSS preferences
This commit is contained in:
parent
db1bd53f44
commit
c4d143c2c0
63 changed files with 1077 additions and 717 deletions
|
@ -56,7 +56,7 @@ namespace fs = boost::filesystem;
|
|||
*****************************************************/
|
||||
|
||||
// Constructor
|
||||
GUI::GUI(QWidget *parent, QStringList torrentCmdLine) : QMainWindow(parent), displaySpeedInTitle(false), force_exit(false) {
|
||||
GUI::GUI(QWidget *parent, QStringList torrentCmdLine) : QMainWindow(parent), displaySpeedInTitle(false), force_exit(false), refreshInterval(1500) {
|
||||
setupUi(this);
|
||||
setWindowTitle(tr("qBittorrent %1", "e.g: qBittorrent v0.x").arg(QString::fromUtf8(VERSION)));
|
||||
QSettings settings(QString::fromUtf8("qBittorrent"), QString::fromUtf8("qBittorrent"));
|
||||
|
@ -790,6 +790,12 @@ void GUI::configureSession(bool deleteOptions) {
|
|||
qDebug("Configuring session");
|
||||
// General
|
||||
displaySpeedInTitle = options->speedInTitleBar();
|
||||
unsigned int new_refreshInterval = options->getRefreshInterval();
|
||||
if(refreshInterval != new_refreshInterval) {
|
||||
refreshInterval = new_refreshInterval;
|
||||
refresher->stop();
|
||||
refresher->start(refreshInterval);
|
||||
}
|
||||
// Downloads
|
||||
// * Save path
|
||||
BTSession->setDefaultSavePath(options->getSavePath());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue