Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Plasma Workspace
Commits
541c81dc
Commit
541c81dc
authored
Jan 17, 2021
by
Kai Uwe Broulik
🍇
Browse files
[Notifications] Chop "." off destination URL
It means "current directory" anyway, so it's redundant and ugly.
parent
6c4d16ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
libnotificationmanager/job_p.cpp
View file @
541c81dc
...
...
@@ -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
();
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment