fixed gifs on the emotepicker

This commit is contained in:
fourtf
2017-09-17 02:13:57 +02:00
parent 3e9f71dbf9
commit e31bb48384
13 changed files with 33 additions and 32 deletions
+3 -2
View File
@@ -11,7 +11,8 @@ using namespace chatterino::messages;
namespace chatterino {
namespace widgets {
EmotePopup::EmotePopup(ColorScheme &colorScheme, EmoteManager &emoteManager)
EmotePopup::EmotePopup(ColorScheme &colorScheme, EmoteManager &emoteManager,
WindowManager &windowManager)
: BaseWidget(colorScheme, 0)
, emoteManager(emoteManager)
{
@@ -19,7 +20,7 @@ EmotePopup::EmotePopup(ColorScheme &colorScheme, EmoteManager &emoteManager)
this->setLayout(layout);
layout->setMargin(0);
view = new ChannelView(this);
view = new ChannelView(windowManager, this);
layout->addWidget(view);
}