diff --git a/src/filewidgets/kfileplaceeditdialog.cpp b/src/filewidgets/kfileplaceeditdialog.cpp --- a/src/filewidgets/kfileplaceeditdialog.cpp +++ b/src/filewidgets/kfileplaceeditdialog.cpp @@ -120,6 +120,7 @@ whatsThisText = i18n("This is the icon that will appear in the Places panel.

" "Click on the button to select a different icon.
"); m_iconButton = new KIconButton(this); + m_iconButton->setVisible(url.scheme() != QLatin1String("trash")); layout->addRow(i18n("Choose an &icon:"), m_iconButton); m_iconButton->setObjectName(QStringLiteral("icon button")); m_iconButton->setIconSize(iconSize);