<div>davidedmundson added a comment.</div><br /><div><div><p>Seems messy when we we can just do:</p>
<p>toggleViewAction()->setEnabled(KAuthorized...) <br />
in the KToolBar constructor</p>
<p>It'd fix all the cases which we're trying to fix as KIOSK only affects KDE apps.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>rPLASMAINTEGRATION Integration for Qt applications in Plasma</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D1644" rel="noreferrer">https://phabricator.kde.org/D1644</a></div></div><br /><div><strong>EMAIL PREFERENCES</strong><div><a href="https://phabricator.kde.org/settings/panel/emailpreferences/" rel="noreferrer">https://phabricator.kde.org/settings/panel/emailpreferences/</a></div></div><br /><div><strong>To: </strong>broulik, Plasma, mart<br /><strong>Cc: </strong>davidedmundson, plasma-devel, sebas<br /></div>