From 895a7c941bb25cacf88efe588d7c239dabe3993b Mon Sep 17 00:00:00 2001 From: Arjun AK Date: Wed, 10 Dec 2014 22:51:25 +0530 Subject: [PATCH] Fix Terminal-View navigation sync issue The URL needs to be constructed from 'QUrl::fromLocalFile()' instead of a QString so that the scheme is set properly. REVIEW: 121409 BUG: 341678 --- src/panels/terminal/terminalpanel.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/panels/terminal/terminalpanel.cpp b/src/panels/terminal/terminalpanel.cpp index fb7d89d31..ee88bd4c5 100644 --- a/src/panels/terminal/terminalpanel.cpp +++ b/src/panels/terminal/terminalpanel.cpp @@ -199,5 +199,6 @@ void TerminalPanel::slotKonsolePartCurrentDirectoryChanged(const QString& dir) } } - emit changeUrl(dir); + const QUrl url(QUrl::fromLocalFile(dir)); + emit changeUrl(url); }