From 2abf1c9ddbffce7a25bd9d700b29bb50dbb75282 Mon Sep 17 00:00:00 2001 From: Ahmad Samir Date: Sun, 13 Sep 2020 15:28:33 +0200 Subject: TerminalPanel: StatJob::mostLocalUrl only works with ":local" protocols StatJob::mostLocalUrl was changed to cancel the job automatically if the protocol Class isn't ":local", mostLocalUrl only makes sense with ioslaves that actually set UDS_LOCAL_PATH (which should have calss ":local"). I tested that kio-fuse still works, when having the terminal panel open and changing direcotries in Dolphin, with an sftp:// server. --- src/panels/terminal/terminalpanel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/panels/terminal/terminalpanel.h') diff --git a/src/panels/terminal/terminalpanel.h b/src/panels/terminal/terminalpanel.h index 85f175da1..82c2c3fc7 100644 --- a/src/panels/terminal/terminalpanel.h +++ b/src/panels/terminal/terminalpanel.h @@ -77,7 +77,7 @@ private: void changeDir(const QUrl& url); void sendCdToTerminal(const QString& path, HistoryPolicy addToHistory = HistoryPolicy::AddToHistory); - + void sendCdToTerminalKIOFuse (const QUrl &url); private: bool m_clearTerminal; KIO::StatJob* m_mostLocalUrlJob; -- cgit v1.3