commit 201519868e2f2491504297c12626a3fb7f06b186 Author: Tomás Touceda chiiph@torproject.org Date: Thu Jun 28 21:05:08 2012 -0300
Display paths with their native separators --- changes/bug4337 | 1 + src/vidalia/config/AdvancedPage.cpp | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/changes/bug4337 b/changes/bug4337 new file mode 100644 index 0000000..f5703d3 --- /dev/null +++ b/changes/bug4337 @@ -0,0 +1 @@ + o Display paths with their native separators. Resolves ticket 4337. diff --git a/src/vidalia/config/AdvancedPage.cpp b/src/vidalia/config/AdvancedPage.cpp index a97c079..56abe16 100644 --- a/src/vidalia/config/AdvancedPage.cpp +++ b/src/vidalia/config/AdvancedPage.cpp @@ -353,7 +353,7 @@ AdvancedPage::browseTorConfig() return; } } - ui.lineTorConfig->setText(filename); + ui.lineTorConfig->setText(QDir::toNativeSeparators(filename)); }
/** Opens a QFileDialog for the user to browse to or create a directory for @@ -366,7 +366,7 @@ AdvancedPage::browseTorDataDirectory() ui.lineTorDataDirectory->text());
if (!dataDir.isEmpty()) - ui.lineTorDataDirectory->setText(dataDir); + ui.lineTorDataDirectory->setText(QDir::toNativeSeparators(dataDir)); }
/** Opens a QFileDialog for the user to browse to or create a socket path to
tor-commits@lists.torproject.org