diff options
author | Anne Jan Brouwer <brouwer@annejan.com> | 2015-06-15 20:30:04 +0200 |
---|---|---|
committer | Anne Jan Brouwer <brouwer@annejan.com> | 2015-06-15 20:30:04 +0200 |
commit | e5f845e663fd11fee280bd036eafc0aaf5a9fdae (patch) | |
tree | e218159939c9f3aed6adf88cbf02da479df5319c /util.cpp | |
parent | bfd9948be560a41dfc7b916442fb137c8b23ac55 (diff) |
win folder end and \ both ckecked again after https://github.com/IJHack/qtpass/issues/53
Diffstat (limited to 'util.cpp')
-rw-r--r-- | util.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -53,7 +53,7 @@ QString Util::findPasswordStore() * @return */ QString Util::normalizeFolderPath(QString path) { - if (!path.endsWith(QDir::separator())) { + if (!path.endsWith("/") && !path.endsWith(QDir::separator())) { path += QDir::separator(); } return path; |