forked from qt-creator/qt-creator
Git: Fix comment indentation in BranchAddDialog
Change-Id: Ia1cd72b598555681e62444f6843a746049c5c04d Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
0234148249
commit
41ea3ffea8
@@ -51,16 +51,16 @@ public:
|
|||||||
BranchNameValidator(const QStringList &localBranches, QObject *parent = 0) :
|
BranchNameValidator(const QStringList &localBranches, QObject *parent = 0) :
|
||||||
QValidator(parent),
|
QValidator(parent),
|
||||||
m_invalidChars(QLatin1String(
|
m_invalidChars(QLatin1String(
|
||||||
"\\s" // no whitespace
|
"\\s" // no whitespace
|
||||||
"|~" // no "~"
|
"|~" // no "~"
|
||||||
"|\\^" // no "^"
|
"|\\^" // no "^"
|
||||||
"|\\[" // no "["
|
"|\\[" // no "["
|
||||||
"|\\.\\." // no ".."
|
"|\\.\\." // no ".."
|
||||||
"|/\\." // no slashdot
|
"|/\\." // no slashdot
|
||||||
"|:" // no ":"
|
"|:" // no ":"
|
||||||
"|@\\{" // no "@{" sequence
|
"|@\\{" // no "@{" sequence
|
||||||
"|\\\\" // no backslash
|
"|\\\\" // no backslash
|
||||||
"|//" // no double slash
|
"|//" // no double slash
|
||||||
"|^[/-]" // no leading slash or dash
|
"|^[/-]" // no leading slash or dash
|
||||||
)),
|
)),
|
||||||
m_localBranches(localBranches)
|
m_localBranches(localBranches)
|
||||||
|
|||||||
Reference in New Issue
Block a user