- BUGFIX: Fixed "hide top toolBar" feature

This commit is contained in:
Christophe Dumez
2009-02-04 19:16:56 +00:00
parent e0ef409220
commit 1a2fdc259c
2 changed files with 8 additions and 7 deletions

View File

@@ -1,3 +1,6 @@
* Unknown - Christophe Dumez <chris@qbittorrent.org> - v1.3.2
- BUGFIX: Fixed "hide top toolBar" feature
* Mon Jan 26 2009 - Christophe Dumez <chris@qbittorrent.org> - v1.3.1 * Mon Jan 26 2009 - Christophe Dumez <chris@qbittorrent.org> - v1.3.1
- BUGFIX: Torrents paused due to an I/O error were displayed as queued - BUGFIX: Torrents paused due to an I/O error were displayed as queued
- BUGFIX: qBittorrent now prints backtrace in terminal when segfaulting - BUGFIX: qBittorrent now prints backtrace in terminal when segfaulting

View File

@@ -931,13 +931,11 @@ 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) {