diff options
author | Anne Jan Brouwer <brouwer@annejan.com> | 2017-02-28 12:10:04 +0100 |
---|---|---|
committer | Anne Jan Brouwer <brouwer@annejan.com> | 2017-02-28 12:10:04 +0100 |
commit | f65a40d0d84f16c78a70d31af64fdf347ec9b16a (patch) | |
tree | 127a73db3c4069353b6b20a7c8383bf36d66acf7 /src/util.cpp | |
parent | 07c8a092fdce48741be120e4af6d02d56a244d4c (diff) |
Util should normalize path with QDir::toNativeSeparators( path )
Diffstat (limited to 'src/util.cpp')
-rw-r--r-- | src/util.cpp | 2 |
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); } /** |