From fefbe8a73864035dfdedc5557ba91fb8d40a27b7 Mon Sep 17 00:00:00 2001 From: reionwong Date: Mon, 27 Sep 2021 14:56:10 +0800 Subject: [PATCH] Fix current url --- model/foldermodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/foldermodel.cpp b/model/foldermodel.cpp index ab37d96..7facc0e 100644 --- a/model/foldermodel.cpp +++ b/model/foldermodel.cpp @@ -316,7 +316,7 @@ void FolderModel::setUrl(const QString &url) m_pathHistory.append(resolvedNewUrl); beginResetModel(); - m_url = resolvedNewUrl.toString(); + m_url = resolvedNewUrl.toString(QUrl::PreferLocalFile); m_dirModel->dirLister()->openUrl(resolvedNewUrl); clearDragImages(); m_dragIndexes.clear();