From ffc483049c7e49d7b889f31e744b84f5bcdc570a Mon Sep 17 00:00:00 2001 From: apa420 Date: Sun, 8 Sep 2019 17:36:26 +0000 Subject: [PATCH] Pepega --- src/widgets/Window.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/widgets/Window.cpp b/src/widgets/Window.cpp index 596a70312..8ef33e8f8 100644 --- a/src/widgets/Window.cpp +++ b/src/widgets/Window.cpp @@ -205,11 +205,8 @@ void Window::addDebugStuff() { #ifdef QT_DEBUG std::vector cheerMessages, subMessages, miscMessages; - auto cheerMessageVector = getSampleCheerMessage(); - for (const auto &message : cheerMessageVector) - { - cheerMessages.emplace_back(message); - } + + cheerMessages = getSampleCheerMessage(); // clang-format off subMessages.emplace_back(R"(@badges=staff/1,broadcaster/1,turbo/1;color=#008000;display-name=ronni;emotes=;id=db25007f-7a18-43eb-9379-80131e44d633;login=ronni;mod=0;msg-id=resub;msg-param-months=6;msg-param-sub-plan=Prime;msg-param-sub-plan-name=Prime;room-id=1337;subscriber=1;system-msg=ronni\shas\ssubscribed\sfor\s6\smonths!;tmi-sent-ts=1507246572675;turbo=1;user-id=1337;user-type=staff :tmi.twitch.tv USERNOTICE #pajlada :Great stream -- keep it up!)");