From a4bdc9a71d41a106396cbe3d42bffcb8de09147d Mon Sep 17 00:00:00 2001 From: thez3ro Date: Tue, 7 Nov 2017 14:07:47 +0100 Subject: [PATCH] fix syntax error --- src/autotype/AutoType.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/autotype/AutoType.cpp b/src/autotype/AutoType.cpp index 4ad83b086..74f68702c 100644 --- a/src/autotype/AutoType.cpp +++ b/src/autotype/AutoType.cpp @@ -356,13 +356,16 @@ bool AutoType::parseActions(const QString& sequence, const Entry* entry, QList autoType = createActionFromTemplate(tmpl, entry); - if (autoType.isEmpty()) return false; + QList autoType = createActionFromTemplate(tmpl, entry); + if (autoType.isEmpty()) { + return false; + } actions.append(autoType); inTmpl = false; tmpl.clear();