Skip to content

Commit e5f845e

Browse files
committed
win folder end and \ both ckecked again after #53
1 parent bfd9948 commit e5f845e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

util.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ QString Util::findPasswordStore()
5353
* @return
5454
*/
5555
QString Util::normalizeFolderPath(QString path) {
56-
if (!path.endsWith(QDir::separator())) {
56+
if (!path.endsWith("/") && !path.endsWith(QDir::separator())) {
5757
path += QDir::separator();
5858
}
5959
return path;

0 commit comments

Comments
 (0)