Fixes #1331 emote picker out of bounds
This commit is contained in:
@@ -58,8 +58,6 @@ UserInfoPopup::UserInfoPopup()
|
||||
this->setWindowFlag(Qt::Popup);
|
||||
#endif
|
||||
|
||||
auto app = getApp();
|
||||
|
||||
auto layout = LayoutCreator<QWidget>(this->getLayoutContainer())
|
||||
.setLayoutType<QVBoxLayout>();
|
||||
|
||||
|
||||
@@ -154,6 +154,7 @@ void SplitInput::openEmotePopup()
|
||||
if (!this->emotePopup_)
|
||||
{
|
||||
this->emotePopup_ = new EmotePopup(this);
|
||||
this->emotePopup_->setStayInScreenRect(true);
|
||||
this->emotePopup_->setAttribute(Qt::WA_DeleteOnClose);
|
||||
|
||||
this->emotePopup_->linkClicked.connect([this](const Link &link) {
|
||||
|
||||
Reference in New Issue
Block a user