mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-22 17:26:21 +03:00
Improve last commit
This commit is contained in:
parent
310433fb54
commit
1d4454c6eb
1 changed files with 3 additions and 1 deletions
|
@ -644,7 +644,9 @@ bool GUI::event(QEvent * e) {
|
|||
}
|
||||
#ifdef Q_WS_MAC
|
||||
case QEvent::ToolBarChange: {
|
||||
actionTop_tool_bar->setChecked(toolBar->isVisible());
|
||||
const bool is_visible = toolBar->isVisible();
|
||||
actionTop_tool_bar->setChecked(is_visible);
|
||||
Preferences::setToolbarDisplayed(is_visible);
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue