Review Request 121952: Make it possible to prevent a toolbar from being hidden

Aleix Pol Gonzalez aleixpol at
Fri Jan 9 16:27:01 UTC 2015

This is an automatically generated e-mail. To reply, visit:

(Updated Jan. 9, 2015, 4:27 p.m.)

Review request for KDE Frameworks.


Disable the toolbar action if it's attached to a noHide toolbar.

Bugs: 326713

Repository: kxmlgui


Adds a "noHide" attribute in the xml format and implements it in the toolbar handler, so we don't get an action to hide some toolbars.

See related bug for more information. Basically if the application doesnt' have a menu, one can hide the toolbar and then it can't come back.

Diffs (updated)

  src/ktoggletoolbaraction.cpp 3539ff3 
  src/ktoolbar.h 54cc1cd 
  src/ktoolbar.cpp f79a149 
  src/ktoolbarhandler.cpp 83c77bd 
  src/kxmlgui.xsd bca02f1 



Fixes the attached bug, tests still pass.


Aleix Pol Gonzalez

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Kde-frameworks-devel mailing list