Browse Source

- Fixing 'hide top toobar feature'

adaptive-webui-19844
Christophe Dumez 16 years ago
parent
commit
3ae783e9cb
  1. 12
      src/GUI.cpp

12
src/GUI.cpp

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

Loading…
Cancel
Save