dfaure added a comment.
QDir::cleanPath or QUrl::NormalizePathSegments can help making this fix more generic. But I'm curious, where does the "/." come from in the first place? REPOSITORY R120 Plasma Workspace REVISION DETAIL https://phabricator.kde.org/D4923 To: broulik, #plasma, hein, dfaure Cc: plasma-devel, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol