diff options
author | Niels Weber <niels.weber@digia.com> | 2013-08-20 12:50:08 +0200 |
---|---|---|
committer | Niels Weber <niels.weber@digia.com> | 2013-08-20 12:53:37 +0200 |
commit | ef45e495a3fe3077017a9dba74208363d90202e8 (patch) | |
tree | 432cd702a6212c27f87872784680583ff241ccd2 /src | |
parent | 20eb79867dab98aac88d8e93f4f44c0d94debf31 (diff) |
Fix pattern for disallowed directory names
Task-number: QTIFW-304
Change-Id: I8c59692675cb8981eb309b820f00f5b8ff81d306
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/sdk/installerbasecommons.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sdk/installerbasecommons.cpp b/src/sdk/installerbasecommons.cpp index b651b30cd..f544dd296 100644 --- a/src/sdk/installerbasecommons.cpp +++ b/src/sdk/installerbasecommons.cpp @@ -406,13 +406,13 @@ QString TargetDirectoryPageImpl::targetDirWarning() const dir = dir.mid(2); #endif - QString ambiguousChars = QLatin1String("~[<>|?*!@#$%^&:,; ]"); + QString ambiguousChars = QLatin1String("[~<>|?*!@#$%^&:,; ]"); if (packageManagerCore()->settings().allowSpaceInPath()) ambiguousChars.remove(QLatin1Char(' ')); // check if there are not allowed characters in the target path if (dir.contains(QRegExp(ambiguousChars))) { - return TargetDirectoryPageImpl::tr("The installation path must not contain %1, " + return TargetDirectoryPageImpl::tr("The installation path must not contain %1, \n" "please specify a valid folder.").arg(ambiguousChars); } |