diff --git a/src/filewidgets/kfilewidget.cpp b/src/filewidgets/kfilewidget.cpp --- a/src/filewidgets/kfilewidget.cpp +++ b/src/filewidgets/kfilewidget.cpp @@ -2857,6 +2857,7 @@ { d->model->setSupportedSchemes(schemes); d->ops->setSupportedSchemes(schemes); + d->urlNavigator->setCustomProtocols(schemes); } QStringList KFileWidget::supportedSchemes() const diff --git a/src/filewidgets/kurlnavigator.h b/src/filewidgets/kurlnavigator.h --- a/src/filewidgets/kurlnavigator.h +++ b/src/filewidgets/kurlnavigator.h @@ -270,8 +270,7 @@ * If an application supports only some special protocols, they can be set * with \a protocols . */ - // KDE5: Think about removing the custom-protocols-property. It had been used - // only by one application currently which uses a different approach now. + // TODO KF6 rename to setSupportedSchemes to match KDirOperator and KFileWidget void setCustomProtocols(const QStringList &protocols); /**