mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-06-27 16:07:46 -04:00
fix comments
This commit is contained in:
parent
a4bdc9a71d
commit
6057c9f27d
1 changed files with 2 additions and 2 deletions
|
@ -725,7 +725,7 @@ bool AutoType::checkSyntax(const QString &string)
|
||||||
|
|
||||||
bool AutoType::checkHighDelay(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.setCaseSensitivity(Qt::CaseInsensitive);
|
||||||
highDelay.setPatternSyntax(QRegExp::RegExp);
|
highDelay.setPatternSyntax(QRegExp::RegExp);
|
||||||
return highDelay.exactMatch(string);
|
return highDelay.exactMatch(string);
|
||||||
|
@ -733,7 +733,7 @@ bool AutoType::checkHighDelay(const QString &string)
|
||||||
|
|
||||||
bool AutoType::checkHighRepetition(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);
|
highRepetition.setPatternSyntax(QRegExp::RegExp);
|
||||||
return highRepetition.exactMatch(string);
|
return highRepetition.exactMatch(string);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue