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

[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 ...@@ -91,6 +91,10 @@ QString JobPrivate::prettyDestUrl() const
return QString(); return QString();
} }
if (url.path().endsWith(QLatin1String("/."))) {
url.setPath(url.path().chopped(2));
}
if (!m_placesModel) { if (!m_placesModel) {
m_placesModel = createPlacesModel(); m_placesModel = createPlacesModel();
} }
......
Supports Markdown
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