moved window logic from BaseWidget to BaseWindow

This commit is contained in:
fourtf
2018-01-14 21:55:36 +01:00
parent 8deb096a27
commit e19a83679f
17 changed files with 138 additions and 104 deletions
+1 -3
View File
@@ -13,10 +13,8 @@ namespace chatterino {
namespace widgets {
EmotePopup::EmotePopup(singletons::ThemeManager &themeManager)
: BaseWidget(themeManager, 0)
: BaseWindow(themeManager, 0)
{
this->initAsWindow();
this->viewEmotes = new ChannelView();
this->viewEmojis = new ChannelView();