fix comments

This commit is contained in:
Marco 2017-05-15 21:48:47 +02:00 committed by thez3ro
parent a4bdc9a71d
commit 6057c9f27d
No known key found for this signature in database
GPG Key ID: F628F9E41DD7C073

View File

@ -725,7 +725,7 @@ bool AutoType::checkSyntax(const QString &string)
bool AutoType::checkHighDelay(const QString &string)
{
QRegExp highDelay(".*\\{Delay\\s[0-9]{5,}\\}.*"); //the 3 means 3 digitnumbers are too much
QRegExp highDelay(".*\\{Delay\\s[0-9]{5,}\\}.*"); //5 digit numbers(10 seconds) are too much
highDelay.setCaseSensitivity(Qt::CaseInsensitive);
highDelay.setPatternSyntax(QRegExp::RegExp);
return highDelay.exactMatch(string);
@ -733,7 +733,7 @@ bool AutoType::checkHighDelay(const QString &string)
bool AutoType::checkHighRepetition(const QString &string)
{
QRegExp highRepetition(".*\\s[0-9]{3,}.*");
QRegExp highRepetition(".*\\s[0-9]{3,}.*");//3 digit numbers are too much
highRepetition.setPatternSyntax(QRegExp::RegExp);
return highRepetition.exactMatch(string);
}