]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Fix Terminal-View navigation sync issue
authorArjun AK <arjunak234@gmail.com>
Wed, 10 Dec 2014 17:21:25 +0000 (22:51 +0530)
committerArjun AK <arjunak234@gmail.com>
Wed, 10 Dec 2014 17:43:23 +0000 (23:13 +0530)
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

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