Browse Source

Use QDir::cleanPath

master
probonopd 7 years ago
committed by GitHub
parent
commit
5dc2aaea62
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      tools/linuxdeployqt/shared.cpp

2
tools/linuxdeployqt/shared.cpp

@ -244,7 +244,7 @@ bool copyFilePrintStatus(const QString &from, const QString &to)
} }
} }
QDir dir(to + "/../"); QDir dir(QDir::cleanPath(to + "/../"));
if (!dir.exists()) { if (!dir.exists()) {
dir.mkpath("."); dir.mkpath(".");
} }

Loading…
Cancel
Save