┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/settings/dolphinsettingsdialog.h
diff options
context:
space:
mode:
authorKai Uwe Broulik <[email protected]>2017-02-08 16:07:19 +0100
committerKai Uwe Broulik <[email protected]>2017-02-08 16:07:19 +0100
commit333e2ae031fec6139a712f15283f0fffb23f2dc6 (patch)
tree9b31336ab1ab30b54356e1d4f4bfee77f964f8d6 /src/settings/dolphinsettingsdialog.h
parent4eea1dc5a15f7b8acc3f0f0c2313c7ff2c029b27 (diff)
[Settings Dialog] Show Trash settings only if authorized
If this KCM is disabled through KIOSK restriction opening it would result in an error message. Hide the entry altogether in this case. Differential Revision: https://phabricator.kde.org/D4502
Diffstat (limited to 'src/settings/dolphinsettingsdialog.h')
-rw-r--r--src/settings/dolphinsettingsdialog.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/settings/dolphinsettingsdialog.h b/src/settings/dolphinsettingsdialog.h
index 93f714799..194af28fc 100644
--- a/src/settings/dolphinsettingsdialog.h
+++ b/src/settings/dolphinsettingsdialog.h
@@ -49,6 +49,8 @@ private slots:
void restoreDefaults();
private:
+ static SettingsPageBase *createTrashSettingsPage(QWidget *parent);
+
QList<SettingsPageBase*> m_pages;
};