mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-21 07:57:22 -06:00
- BUGFIX: title bar is now reset when "Display speed in title" is disabled
This commit is contained in:
2
TODO
2
TODO
@@ -62,4 +62,4 @@ rc8->final? changelog:
|
|||||||
- BUGFIX: Saving trackers file only when necessary
|
- BUGFIX: Saving trackers file only when necessary
|
||||||
- BUGFIX: Fixed possible segfault when unfiltering files in torrent addition dialog
|
- BUGFIX: Fixed possible segfault when unfiltering files in torrent addition dialog
|
||||||
- BUGFIX: Fixed possible overflow in ETA calculation
|
- BUGFIX: Fixed possible overflow in ETA calculation
|
||||||
|
- BUGFIX: title bar is now reset when "Display speed in title" is disabled
|
||||||
|
|||||||
@@ -764,7 +764,12 @@ void GUI::processDownloadedFiles(QString path, QString url) {
|
|||||||
void GUI::configureSession(bool deleteOptions) {
|
void GUI::configureSession(bool deleteOptions) {
|
||||||
qDebug("Configuring session");
|
qDebug("Configuring session");
|
||||||
// General
|
// General
|
||||||
displaySpeedInTitle = options->speedInTitleBar();
|
bool new_displaySpeedInTitle = options->speedInTitleBar();
|
||||||
|
if(!new_displaySpeedInTitle && new_displaySpeedInTitle != displaySpeedInTitle) {
|
||||||
|
// Reset title
|
||||||
|
setWindowTitle(tr("qBittorrent %1", "e.g: qBittorrent v0.x").arg(QString::fromUtf8(VERSION)));
|
||||||
|
}
|
||||||
|
displaySpeedInTitle = new_displaySpeedInTitle;
|
||||||
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;
|
||||||
|
|||||||
Reference in New Issue
Block a user