Fixes #1331 emote picker out of bounds

This commit is contained in:
fourtf
2019-10-05 18:16:37 +02:00
parent 252e2e8bae
commit 16b2b2458c
3 changed files with 2 additions and 5 deletions
+1 -3
View File
@@ -538,11 +538,9 @@ void BaseWindow::closeEvent(QCloseEvent *)
void BaseWindow::showEvent(QShowEvent *)
{
this->moveIntoDesktopRect(this);
if (this->frameless_)
{
this->moveIntoDesktopRect(this);
qDebug() << "show";
QTimer::singleShot(30, this,
[this] { this->moveIntoDesktopRect(this); });
}