]> cloud.milkyroute.net Git - dolphin.git/commit
Fix places text when the URL has a trailing slash
authorElvis Angelaccio <elvis.angelaccio@kde.org>
Sun, 1 Sep 2019 20:32:35 +0000 (22:32 +0200)
committerElvis Angelaccio <elvis.angelaccio@kde.org>
Mon, 2 Sep 2019 18:30:06 +0000 (20:30 +0200)
commitc5a713763daf113c78697341bfea7dc0860192a3
tree313633b3b156635aee3026b674d12f0692011f61
parentada16756d69c012c089733f6ce4e9271f84ccca6
Fix places text when the URL has a trailing slash

Summary: QUrl::fileName() returns an empty string if the URL ends with a slash.

Test Plan:
1. Run `dolphin /tmp` from command line
2. Right-click from viewport and click 'Add to Places'

Reviewers: ngraham

Subscribers: kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D23654
src/dolphinviewcontainer.cpp