From 5d2be3ae2a93548ace75ef09520c0b6f82a18f58 Mon Sep 17 00:00:00 2001 From: apa420 Date: Fri, 13 Jul 2018 02:06:35 +0200 Subject: [PATCH] fixed issue with timeoutbuttons #613 --- src/controllers/moderationactions/ModerationAction.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/controllers/moderationactions/ModerationAction.cpp b/src/controllers/moderationactions/ModerationAction.cpp index a7312147f..eb477602f 100644 --- a/src/controllers/moderationactions/ModerationAction.cpp +++ b/src/controllers/moderationactions/ModerationAction.cpp @@ -32,8 +32,8 @@ ModerationAction::ModerationAction(const QString &action) if (timeoutMatch.hasMatch()) { // if (multipleTimeouts > 1) { - QString line1; - QString line2; + // QString line1; + // QString line2; int amount = timeoutMatch.captured(1).toInt(); @@ -51,8 +51,8 @@ ModerationAction::ModerationAction(const QString &action) this->line2_ = "d"; } - this->line1_ = line1; - this->line2_ = line2; + // line1 = this->line1_; + // line2 = this->line2_; // } else { // this->_moderationActions.emplace_back(app->resources->buttonTimeout, str); // }