From 6057c9f27daff15f40a6ebb84192c00f428f12d6 Mon Sep 17 00:00:00 2001 From: Marco Date: Mon, 15 May 2017 21:48:47 +0200 Subject: [PATCH] fix comments --- src/autotype/AutoType.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/autotype/AutoType.cpp b/src/autotype/AutoType.cpp index 74f68702..40052796 100644 --- a/src/autotype/AutoType.cpp +++ b/src/autotype/AutoType.cpp @@ -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); }