diff --git a/ui/drivers/qt/ui_qt_window.cpp b/ui/drivers/qt/ui_qt_window.cpp index e9536a6bdb..1bc4e164f7 100644 --- a/ui/drivers/qt/ui_qt_window.cpp +++ b/ui/drivers/qt/ui_qt_window.cpp @@ -1748,7 +1748,7 @@ QHash MainWindow::getFileContentHash(const QModelIndex &index) QFileInfo fileInfo = m_fileModel->fileInfo(index); QHash hash; - hash["path"] = m_fileModel->filePath(index);; + hash["path"] = QDir::toNativeSeparators(m_fileModel->filePath(index)); hash["label"] = hash["path"]; hash["label_noext"] = fileInfo.completeBaseName(); hash["db_name"] = fileInfo.dir().dirName();