mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-12 16:23:07 -07:00
Added some debug
This commit is contained in:
parent
10801f111b
commit
1ed565d8e5
1 changed files with 2 additions and 0 deletions
|
@ -644,8 +644,10 @@ bool GUI::event(QEvent * e) {
|
|||
}
|
||||
#ifdef Q_WS_MAC
|
||||
case QEvent::ToolBarChange: {
|
||||
qDebug("MAC: Received a toolbar change event!")
|
||||
e->accept();
|
||||
const bool is_visible = toolBar->isVisible();
|
||||
qDebug("MAC: new toolbar visibility is %d", (int)is_visible);
|
||||
actionTop_tool_bar->setChecked(is_visible);
|
||||
Preferences::setToolbarDisplayed(is_visible);
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue