]> cloud.milkyroute.net Git - dolphin.git/commit
Remove unneeded code for toggeling dockwidget visibility
authorNicolas Fella <nicolas.fella@gmx.de>
Fri, 8 Mar 2024 17:46:32 +0000 (18:46 +0100)
committerMéven Car <meven.car@kdemail.net>
Fri, 8 Mar 2024 18:29:46 +0000 (18:29 +0000)
commit95551f44922670be5c4d670833c2d4e398657495
tree962993bce2110ab5f25eb20f4c0258d23a71a137
parentc8b3d90a576713fd16b3045dcd5d7d8bc25a1a49
Remove unneeded code for toggeling dockwidget visibility

QDockWidget::toggleViewAction::toggled is emitted when minimizing
the application window on X11 (https://bugreports.qt.io/browse/QTBUG-48161
potentially related). This will cause the dockwidget to be hidden when
minimizing the window.

We don't actually seem to need that connection, triggering the action
(via shortcut or menu) seems to correctly show/hide the dockwidget
without it

BUG: 481952
src/dolphinmainwindow.cpp