From: Kai Uwe Broulik Date: Mon, 16 Jan 2017 14:45:09 +0000 (+0100) Subject: In doubt use URL scheme for place X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/215bed085b99274cb3cc57670f4a76d0d43c4603 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 --- 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;