fixed issue with timeoutbuttons #613

This commit is contained in:
apa420 2018-07-13 02:06:35 +02:00
parent 12093d1bb6
commit 5d2be3ae2a

View file

@ -32,8 +32,8 @@ ModerationAction::ModerationAction(const QString &action)
if (timeoutMatch.hasMatch()) { if (timeoutMatch.hasMatch()) {
// if (multipleTimeouts > 1) { // if (multipleTimeouts > 1) {
QString line1; // QString line1;
QString line2; // QString line2;
int amount = timeoutMatch.captured(1).toInt(); int amount = timeoutMatch.captured(1).toInt();
@ -51,8 +51,8 @@ ModerationAction::ModerationAction(const QString &action)
this->line2_ = "d"; this->line2_ = "d";
} }
this->line1_ = line1; // line1 = this->line1_;
this->line2_ = line2; // line2 = this->line2_;
// } else { // } else {
// this->_moderationActions.emplace_back(app->resources->buttonTimeout, str); // this->_moderationActions.emplace_back(app->resources->buttonTimeout, str);
// } // }