summaryrefslogtreecommitdiffstats
path: root/src/util.cpp
diff options
context:
space:
mode:
authorAnne Jan Brouwer <brouwer@annejan.com>2017-02-28 12:10:04 +0100
committerAnne Jan Brouwer <brouwer@annejan.com>2017-02-28 12:10:04 +0100
commitf65a40d0d84f16c78a70d31af64fdf347ec9b16a (patch)
tree127a73db3c4069353b6b20a7c8383bf36d66acf7 /src/util.cpp
parent07c8a092fdce48741be120e4af6d02d56a244d4c (diff)
Util should normalize path with QDir::toNativeSeparators( path )
Diffstat (limited to 'src/util.cpp')
-rw-r--r--src/util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.cpp b/src/util.cpp
index fafe7dc2..41df1020 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -67,7 +67,7 @@ QString Util::findPasswordStore() {
QString Util::normalizeFolderPath(QString path) {
if (!path.endsWith("/") && !path.endsWith(QDir::separator()))
path += QDir::separator();
- return path;
+ return QDir::toNativeSeparators(path);
}
/**