From be881f17f4a2940b1c10bb83c0a40312f12c7a1e Mon Sep 17 00:00:00 2001 From: Rasmus Karlsson Date: Wed, 23 Jan 2019 18:07:36 +0100 Subject: [PATCH] fix scuffed switch --- src/messages/MessageBuilder.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/messages/MessageBuilder.cpp b/src/messages/MessageBuilder.cpp index 078e44251..d21601766 100644 --- a/src/messages/MessageBuilder.cpp +++ b/src/messages/MessageBuilder.cpp @@ -246,7 +246,7 @@ MessageBuilder::MessageBuilder(const AutomodUserAction &action) QString text; switch (action.type) { - case action.AddPermitted: + case AutomodUserAction::AddPermitted: { text = QString("%1 added %2 as a permitted term on AutoMod.") .arg(action.source.name) @@ -254,7 +254,7 @@ MessageBuilder::MessageBuilder(const AutomodUserAction &action) } break; - case action.AddBlocked: + case AutomodUserAction::AddBlocked: { text = QString("%1 added %2 as a blocked term on AutoMod.") .arg(action.source.name) @@ -262,7 +262,7 @@ MessageBuilder::MessageBuilder(const AutomodUserAction &action) } break; - case action.RemovePermitted: + case AutomodUserAction::RemovePermitted: { text = QString("%1 removed %2 as a permitted term term on AutoMod.") .arg(action.source.name) @@ -270,7 +270,7 @@ MessageBuilder::MessageBuilder(const AutomodUserAction &action) } break; - case action.RemoveBlocked: + case AutomodUserAction::RemoveBlocked: { text = QString("%1 removed %2 as a blocked term on AutoMod.") .arg(action.source.name) @@ -278,7 +278,7 @@ MessageBuilder::MessageBuilder(const AutomodUserAction &action) } break; - case action.Properties: + case AutomodUserAction::Properties: { text = QString("%1 modified the AutoMod properties.") .arg(action.source.name);