mirror of
https://invent.kde.org/system/dolphin
synced 2024-10-28 03:21:56 +00:00
Exclude trash settings from windows
This commit is contained in:
parent
bb85b6267a
commit
827b79f5c8
|
@ -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"));
|
||||
|
|
Loading…
Reference in a new issue