forked from qt-creator/qt-creator
Wizards: adding more illegal characters to FileNameValidatingLineEdit
Change-Id: Ia111118b52b92b65916000df76065e4eb95dc8a0 Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
This commit is contained in:
@@ -90,8 +90,8 @@ void FileNameValidatingLineEdit::setAllowDirectories(bool v)
|
|||||||
# define SLASHES "/"
|
# define SLASHES "/"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static const char notAllowedCharsSubDir[] = "~!?:&*\"|#%<>$\"'();`' ";
|
static const char notAllowedCharsSubDir[] = "={}[]~!?:&*\"|#%<>$\"'();`' ";
|
||||||
static const char notAllowedCharsNoSubDir[] = "~!?:&*\"|#%<>$\"'();`' "SLASHES;
|
static const char notAllowedCharsNoSubDir[] = "={}[]~!?:&*\"|#%<>$\"'();`' "SLASHES;
|
||||||
|
|
||||||
static const char *notAllowedSubStrings[] = {".."};
|
static const char *notAllowedSubStrings[] = {".."};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user