added colon emote popup for ffz and bttv

This commit is contained in:
fourtf
2020-08-15 18:59:17 +02:00
parent 6781482485
commit f7237dccdd
26 changed files with 700 additions and 251 deletions
+22
View File
@@ -0,0 +1,22 @@
#include "GenericListItem.hpp"
namespace chatterino {
const QSize GenericListItem::ICON_SIZE(32, 32);
GenericListItem *GenericListItem::fromVariant(const QVariant &variant)
{
// See https://stackoverflow.com/a/44503822 .
return static_cast<GenericListItem *>(variant.value<void *>());
}
GenericListItem::GenericListItem()
{
}
GenericListItem::GenericListItem(const QIcon &icon)
: icon_(icon)
{
}
} // namespace chatterino