diff options
| author | Kai Uwe Broulik <[email protected]> | 2017-01-16 15:45:09 +0100 |
|---|---|---|
| committer | Kai Uwe Broulik <[email protected]> | 2017-01-16 15:45:09 +0100 |
| commit | 215bed085b99274cb3cc57670f4a76d0d43c4603 (patch) | |
| tree | 6fd21c52a9d3d0e9e78d9b77180a76b85034efb2 /src/dolphinviewcontainer.cpp | |
| parent | 63a591f32a56cb4caac9a616d21fab0f37c8d827 (diff) | |
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
Diffstat (limited to 'src/dolphinviewcontainer.cpp')
| -rw-r--r-- | src/dolphinviewcontainer.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dolphinviewcontainer.cpp b/src/dolphinviewcontainer.cpp index 4e625c7d8..2ea5b7e00 100644 --- a/src/dolphinviewcontainer.cpp +++ b/src/dolphinviewcontainer.cpp @@ -361,6 +361,9 @@ QString DolphinViewContainer::placesText() const if (text.isEmpty()) { text = url().host(); } + if (text.isEmpty()) { + text = url().scheme(); + } } return text; |
