Browse Source

[Qt] display native dir separators in select dadatir dialog

- fixes display on Windows now \ instead of / before
tags/v0.15.1
Philip Kaufmann 7 years ago
parent
commit
6a1bf00425
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/qt/intro.cpp

+ 1
- 1
src/qt/intro.cpp View File

@@ -233,7 +233,7 @@ void Intro::on_dataDirectory_textChanged(const QString &dataDirStr)

void Intro::on_ellipsisButton_clicked()
{
QString dir = QFileDialog::getExistingDirectory(0, "Choose data directory", ui->dataDirectory->text());
QString dir = QDir::toNativeSeparators(QFileDialog::getExistingDirectory(0, "Choose data directory", ui->dataDirectory->text()));
if(!dir.isEmpty())
ui->dataDirectory->setText(dir);
}

Loading…
Cancel
Save