forked from qt-creator/qt-creator
Wizards: Do not allow ~,! in file names.
Task-number: QTCREATORBUG-5063 Change-Id: Ide80c5e52a867c45d8feb9109c65328bdda0f86c Reviewed-on: http://codereview.qt.nokia.com/443 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
This commit is contained in:
@@ -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[] = {".."};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user