diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-01-10 12:53:14 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-01-10 12:54:23 +0100 |
commit | 131fb42b1bb1cdb13c464735a5427e9bd5eb273e (patch) | |
tree | 45ed95606a371c034218de7caa8f0807755620bd | |
parent | 5b45bf400e4938fd15540d215b91fddcf4217713 (diff) | |
parent | 6a1bf004252191f820f2252d965312b9530fdd74 (diff) | |
download | bitcoin-131fb42b1bb1cdb13c464735a5427e9bd5eb273e.tar.xz |
Merge pull request #3504
6a1bf00 [Qt] display native dir separators in select dadatir dialog (Philip Kaufmann)
-rw-r--r-- | src/qt/intro.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/intro.cpp b/src/qt/intro.cpp index 5f7ccf7093..453bbdf374 100644 --- a/src/qt/intro.cpp +++ b/src/qt/intro.cpp @@ -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); } |