Skip to content
Snippets Groups Projects
Commit 2da6f8d4 authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

Wizards: Do not allow ~,! in file names.

Task-number: QTCREATORBUG-5063

Change-Id: Ide80c5e52a867c45d8feb9109c65328bdda0f86c
Reviewed-on: http://codereview.qt.nokia.com/443


Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@nokia.com>
parent 39b7faa1
No related branches found
No related tags found
No related merge requests found
......@@ -91,8 +91,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[] = {".."};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment