Utils::FileNameValidatingLineEdit: Allow '+' character

Amends d008e8f2b6.

Fixes: QTCREATORBUG-15493
Change-Id: I97b51bb95ebe5988864397bbce1ce4e9243b5d0a
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Christian Kandeler
2019-02-04 13:45:52 +01:00
parent 522a90913a
commit 99a883527b

View File

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