Delete emote popup when it is closed.
This commit is contained in:
@@ -100,8 +100,8 @@ namespace {
|
||||
}
|
||||
} // namespace
|
||||
|
||||
EmotePopup::EmotePopup()
|
||||
: BaseWindow(nullptr, BaseWindow::EnableCustomFrame)
|
||||
EmotePopup::EmotePopup(QWidget *parent)
|
||||
: BaseWindow(parent, BaseWindow::EnableCustomFrame)
|
||||
{
|
||||
auto layout = new QVBoxLayout(this);
|
||||
this->getLayoutContainer()->setLayout(layout);
|
||||
|
||||
@@ -14,7 +14,7 @@ using ChannelPtr = std::shared_ptr<Channel>;
|
||||
class EmotePopup : public BaseWindow
|
||||
{
|
||||
public:
|
||||
EmotePopup();
|
||||
EmotePopup(QWidget *parent = nullptr);
|
||||
|
||||
void loadChannel(ChannelPtr channel);
|
||||
void loadEmojis();
|
||||
|
||||
Reference in New Issue
Block a user