Enhance readability when accessing static members
The sole purpose of a few objects was calling a static member of the class they belonged to. This is not needed, as you can access a static member with the <class_name>::<member_name> notation.
This commit is contained in:
@@ -731,8 +731,7 @@ bool AutoType::checkHighRepetition(const QString& string)
|
||||
bool AutoType::verifyAutoTypeSyntax(const QString& sequence)
|
||||
{
|
||||
if (!AutoType::checkSyntax(sequence)) {
|
||||
QMessageBox messageBox;
|
||||
messageBox.critical(nullptr, tr("Auto-Type"), tr("The Syntax of your Auto-Type statement is incorrect!"));
|
||||
QMessageBox::critical(nullptr, tr("Auto-Type"), tr("The Syntax of your Auto-Type statement is incorrect!"));
|
||||
return false;
|
||||
} else if (AutoType::checkHighDelay(sequence)) {
|
||||
QMessageBox::StandardButton reply;
|
||||
|
||||
Reference in New Issue
Block a user