Review Request 127955: [Settings Dialog] Show Trash settings only if authorized
Kai Uwe Broulik
kde at privat.broulik.de
Wed May 18 20:40:37 BST 2016
> On Mai 18, 2016, 7:20 nachm., Emmanuel Pescosta wrote:
> > src/settings/dolphinsettingsdialog.cpp, lines 109-111
> > <https://git.reviewboard.kde.org/r/127955/diff/1/?file=465129#file465129line109>
> >
> > then simply do
> > if (KAuthorized::authorizeControlModule(...)) {
> > m_pages.append(create...());
> > }
> > here ;)
I would end up calling addPage unconditionally then
- Kai Uwe
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/127955/#review95592
-----------------------------------------------------------
On Mai 18, 2016, 6:09 nachm., Kai Uwe Broulik wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/127955/
> -----------------------------------------------------------
>
> (Updated Mai 18, 2016, 6:09 nachm.)
>
>
> Review request for Dolphin.
>
>
> Repository: dolphin
>
>
> Description
> -------
>
> If this KCM is disabled through KIOSK restriction opening it would result in an error message. Hide the entry altogether in this case.
>
>
> Diffs
> -----
>
> src/settings/dolphinsettingsdialog.cpp 9eb57f1
>
> Diff: https://git.reviewboard.kde.org/r/127955/diff/
>
>
> Testing
> -------
>
> Added
>
> [KDE Control Module Restrictions]
> kcmtrash.desktop=false
>
> Got no entry anymore. Without I still get it as before.
>
>
> Thanks,
>
> Kai Uwe Broulik
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20160518/aa3d8d9c/attachment.htm>
More information about the kfm-devel
mailing list