mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-12 12:54:29 +00:00
In doubt use URL scheme for place
If we neither have a filename nor a host, we might be in a foo:/ URL, use the scheme then. Differential Revision: https://phabricator.kde.org/D3935
This commit is contained in:
parent
63a591f32a
commit
215bed085b
|
@ -361,6 +361,9 @@ QString DolphinViewContainer::placesText() const
|
|||
if (text.isEmpty()) {
|
||||
text = url().host();
|
||||
}
|
||||
if (text.isEmpty()) {
|
||||
text = url().scheme();
|
||||
}
|
||||
}
|
||||
|
||||
return text;
|
||||
|
|
Loading…
Reference in a new issue