]> cloud.milkyroute.net Git - dolphin.git/commit
Only keep the active view container connected with the main window, all inactive
authorEmmanuel Pescosta <emmanuelpescosta099@gmail.com>
Wed, 27 Aug 2014 20:40:06 +0000 (22:40 +0200)
committerEmmanuel Pescosta <emmanuelpescosta099@gmail.com>
Sun, 31 Aug 2014 15:00:10 +0000 (17:00 +0200)
commitdc378935d3f92c45a48349d08f96cac63411fd50
tree9419b285d9b58edc435d897aa0f00f3644519f53
parent4290827540d88829d3d06f828a11ac2c3df00d54
Only keep the active view container connected with the main window, all inactive
view containers are disconnected. Changing the connections is done whenever the
active view has been changed, so we can always guarantee that the active view is
connected.

The problem with restoring saved sessions is, that we create a new view container
in DolphinTabPage::restoreState() when split view was used in the previous session,
but this view container isn't connected to the main window slots because
DolphinMainWindow::connectViewSignals() is not called for this container. This leads
to these strange problems: no context menu, ...

BUG: 338549
REVIEW: 119961
FIXED-IN: 4.14.1
src/dolphinmainwindow.cpp