Commit db6ca614 authored by Madhav Kanbur's avatar Madhav Kanbur Committed by Nate Graham
Browse files

Add button to toggle sidebar in fullscreen mode

Previously, there was no way to toggle the sidebar in
fullscreen view mode except for the keyboard shortcut F4. This patch
adds a button to toggle the sidebar from the fullscreen toolbar.
BUG: 414694

Test Plan:
Tested the button in fullscreen (view) mode. Button works
as expected, and preserves existing behavior of all other sidebar
toggle mechanisms as well.

Reviewers: #vdg, #gwenview, ngraham

Subscribers: #gwenview

Tags: #gwenview

Differential Revision:
parent 52952ffd
......@@ -139,6 +139,8 @@ void FullScreenContent::init(KActionCollection* actionCollection, QWidget* autoH
mToolBar = new FullScreenToolBar(mContent);
#define addAction(name) mToolBar->addAction(actionCollection->action(name))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment