diff options
| author | Alexander Lohnau <[email protected]> | 2020-09-20 10:11:37 +0200 |
|---|---|---|
| committer | Alexander Lohnau <[email protected]> | 2020-09-20 10:11:37 +0200 |
| commit | 827b79f5c85118730db3b0642245f09071703c97 (patch) | |
| tree | 1b3dd15d6e9495b9d86cf450f5b74f3fe8f9d596 /src/settings/dolphinsettingsdialog.cpp | |
| parent | bb85b6267afdbd11a6b3f360bb7a7d6d86505126 (diff) | |
Exclude trash settings from windows
Diffstat (limited to 'src/settings/dolphinsettingsdialog.cpp')
| -rw-r--r-- | src/settings/dolphinsettingsdialog.cpp | 5 |
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")); |
