summaryrefslogtreecommitdiff
path: root/rbutil/rbutilqt/browsedirtree.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/rbutilqt/browsedirtree.cpp')
-rw-r--r--rbutil/rbutilqt/browsedirtree.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/browsedirtree.cpp b/rbutil/rbutilqt/browsedirtree.cpp
index c8203e1821..80dc6910ac 100644
--- a/rbutil/rbutilqt/browsedirtree.cpp
+++ b/rbutil/rbutilqt/browsedirtree.cpp
@@ -64,7 +64,7 @@ void BrowseDirtree::accept()
64 path = model.filePath(ui.tree->currentIndex()); 64 path = model.filePath(ui.tree->currentIndex());
65 65
66 this->close(); 66 this->close();
67 emit itemChanged(path); 67 emit itemChanged(QDir::toNativeSeparators(path));
68 setResult(QDialog::Accepted); 68 setResult(QDialog::Accepted);
69} 69}
70 70
@@ -72,7 +72,7 @@ QString BrowseDirtree::getSelected()
72{ 72{
73 QString path; 73 QString path;
74 path = model.filePath(ui.tree->currentIndex()); 74 path = model.filePath(ui.tree->currentIndex());
75 return path; 75 return QDir::toNativeSeparators(path);
76} 76}
77 77
78 78