aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Kaufmann <phil.kaufmann@t-online.de>2014-01-10 11:43:29 +0100
committerPhilip Kaufmann <phil.kaufmann@t-online.de>2014-01-10 11:43:29 +0100
commit6a1bf004252191f820f2252d965312b9530fdd74 (patch)
tree45ed95606a371c034218de7caa8f0807755620bd
parent5b45bf400e4938fd15540d215b91fddcf4217713 (diff)
[Qt] display native dir separators in select dadatir dialog
- fixes display on Windows now \ instead of / before
-rw-r--r--src/qt/intro.cpp2
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);
}