|
|
@ -931,14 +931,12 @@ void GUI::configureSession(bool deleteOptions) { |
|
|
|
setWindowTitle(tr("qBittorrent %1", "e.g: qBittorrent v0.x").arg(QString::fromUtf8(VERSION))); |
|
|
|
setWindowTitle(tr("qBittorrent %1", "e.g: qBittorrent v0.x").arg(QString::fromUtf8(VERSION))); |
|
|
|
} |
|
|
|
} |
|
|
|
displaySpeedInTitle = new_displaySpeedInTitle; |
|
|
|
displaySpeedInTitle = new_displaySpeedInTitle; |
|
|
|
if(options->isToolbarDisplayed() != toolBar->isVisible()) { |
|
|
|
|
|
|
|
if(options->isToolbarDisplayed()) { |
|
|
|
if(options->isToolbarDisplayed()) { |
|
|
|
toolBar->setVisible(true); |
|
|
|
toolBar->setVisible(true); |
|
|
|
toolBar->layout()->setSpacing(7); |
|
|
|
toolBar->layout()->setSpacing(7); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
toolBar->setVisible(false); |
|
|
|
toolBar->setVisible(false); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
unsigned int new_refreshInterval = options->getRefreshInterval(); |
|
|
|
unsigned int new_refreshInterval = options->getRefreshInterval(); |
|
|
|
if(refreshInterval != new_refreshInterval) { |
|
|
|
if(refreshInterval != new_refreshInterval) { |
|
|
|
refreshInterval = new_refreshInterval; |
|
|
|
refreshInterval = new_refreshInterval; |
|
|
|