Wizards: adding more illegal characters to FileNameValidatingLineEdit

Change-Id: Ia111118b52b92b65916000df76065e4eb95dc8a0
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
This commit is contained in:
Thomas Hartmann
2012-03-26 15:36:04 +02:00
parent 7c07574f50
commit ba294226e0

View File

@@ -90,8 +90,8 @@ void FileNameValidatingLineEdit::setAllowDirectories(bool v)
# define SLASHES "/"
#endif
static const char notAllowedCharsSubDir[] = "~!?:&*\"|#%<>$\"'();`' ";
static const char notAllowedCharsNoSubDir[] = "~!?:&*\"|#%<>$\"'();`' "SLASHES;
static const char notAllowedCharsSubDir[] = "={}[]~!?:&*\"|#%<>$\"'();`' ";
static const char notAllowedCharsNoSubDir[] = "={}[]~!?:&*\"|#%<>$\"'();`' "SLASHES;
static const char *notAllowedSubStrings[] = {".."};