diff --git a/src/filewidgets/kfileplaceeditdialog.cpp b/src/filewidgets/kfileplaceeditdialog.cpp --- a/src/filewidgets/kfileplaceeditdialog.cpp +++ b/src/filewidgets/kfileplaceeditdialog.cpp @@ -111,7 +111,7 @@ // Room for at least 40 chars (average char width is half of height) m_urlEdit->setMinimumWidth(m_urlEdit->fontMetrics().height() * (40 / 2)); - if (url.scheme() != QLatin1String("trash")) { + if (isIconEditable()) { 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); @@ -214,5 +214,5 @@ bool KFilePlaceEditDialog::isIconEditable() const { - return m_iconButton; + return url().scheme() != QLatin1String("trash"); }