Delete emote popup when it is closed.

This commit is contained in:
fourtf
2019-08-13 16:39:22 +02:00
parent 18f3a816ed
commit 7bf5a79f8a
6 changed files with 83 additions and 5 deletions
+2 -1
View File
@@ -1,5 +1,6 @@
#pragma once
#include "util/QObjectRef.hpp"
#include "widgets/BaseWidget.hpp"
#include <QHBoxLayout>
@@ -46,7 +47,7 @@ private:
void openEmotePopup();
Split *const split_;
std::shared_ptr<EmotePopup> emotePopup_;
QObjectRef<EmotePopup> emotePopup_;
struct {
ResizingTextEdit *textEdit;