Browse Source

Merge pull request #7561 from sledgehammer999/native_path

Show new paths in native form.
adaptive-webui-19844
sledgehammer999 7 years ago committed by GitHub
parent
commit
27a7e86599
  1. 2
      src/gui/fspathedit.cpp

2
src/gui/fspathedit.cpp

@ -127,7 +127,7 @@ void FileSystemPathEdit::FileSystemPathEditPrivate::browseActionTriggered()
throw std::logic_error("Unknown FileSystemPathEdit mode"); throw std::logic_error("Unknown FileSystemPathEdit mode");
} }
if (!selectedPath.isEmpty()) if (!selectedPath.isEmpty())
q->setEditWidgetText(selectedPath); q->setEditWidgetText(Utils::Fs::toNativePath(selectedPath));
} }
QString FileSystemPathEdit::FileSystemPathEditPrivate::dialogCaptionOrDefault() const QString FileSystemPathEdit::FileSystemPathEditPrivate::dialogCaptionOrDefault() const

Loading…
Cancel
Save