Exclude trash settings from windows

This commit is contained in:
Alexander Lohnau 2020-09-20 10:11:37 +02:00
parent bb85b6267a
commit 827b79f5c8

View file

@ -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"));