┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/settings
diff options
context:
space:
mode:
authorAlexander Lohnau <[email protected]>2020-09-20 10:11:37 +0200
committerAlexander Lohnau <[email protected]>2020-09-20 10:11:37 +0200
commit827b79f5c85118730db3b0642245f09071703c97 (patch)
tree1b3dd15d6e9495b9d86cf450f5b74f3fe8f9d596 /src/settings
parentbb85b6267afdbd11a6b3f360bb7a7d6d86505126 (diff)
Exclude trash settings from windows
Diffstat (limited to 'src/settings')
-rw-r--r--src/settings/dolphinsettingsdialog.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/settings/dolphinsettingsdialog.cpp b/src/settings/dolphinsettingsdialog.cpp
index a99b9c3d0..0650e3d24 100644
--- a/src/settings/dolphinsettingsdialog.cpp
+++ b/src/settings/dolphinsettingsdialog.cpp
@@ -80,7 +80,10 @@ DolphinSettingsDialog::DolphinSettingsDialog(const QUrl& url, QWidget* parent) :
connect(servicesSettingsPage, &ServicesSettingsPage::changed, this, &DolphinSettingsDialog::enableApply);
// Trash
- auto* trashSettingsPage = createTrashSettingsPage(this);
+ SettingsPageBase* trashSettingsPage = nullptr;
+#ifndef Q_OS_WIN
+ trashSettingsPage = createTrashSettingsPage(this);
+#endif
if (trashSettingsPage) {
KPageWidgetItem* trashSettingsFrame = addPage(trashSettingsPage,
i18nc("@title:group", "Trash"));