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
This commit is contained in:
Arjun AK 2014-12-10 22:51:25 +05:30
parent 1d7b3b8df5
commit 895a7c941b

View file

@ -199,5 +199,6 @@ void TerminalPanel::slotKonsolePartCurrentDirectoryChanged(const QString& dir)
}
}
emit changeUrl(dir);
const QUrl url(QUrl::fromLocalFile(dir));
emit changeUrl(url);
}