Commit 541c81dc authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇

[Notifications] Chop "." off destination URL

It means "current directory" anyway, so it's redundant and ugly.
parent 6c4d16ee
......@@ -91,6 +91,10 @@ QString JobPrivate::prettyDestUrl() const
return QString();
}
if (url.path().endsWith(QLatin1String("/."))) {
url.setPath(url.path().chopped(2));
}
if (!m_placesModel) {
m_placesModel = createPlacesModel();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment