Skip to content

Commit fe2a6b6

Browse files
committed
QDir::toNativeSeparators Location tooltip
1 parent 7b5531c commit fe2a6b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/docks/filesdock.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1103,7 +1103,7 @@ void FilesDock::changeDirectory(const QString &filePath, bool updateLocation)
11031103
}
11041104
index = m_filesModel->setRootPath(path);
11051105
Settings.setFilesCurrentDir(path);
1106-
ui->locationsCombo->setToolTip(path);
1106+
ui->locationsCombo->setToolTip(QDir::toNativeSeparators(path));
11071107
if (updateLocation && path != ui->locationsCombo->currentText())
11081108
ui->locationsCombo->setCurrentText(path);
11091109
m_view->setRootIndex(m_filesProxyModel->mapFromSource(index));

0 commit comments

Comments
 (0)