fixed account switch popup showing behind the main window

This commit is contained in:
fourtf 2018-06-24 13:10:29 +02:00
parent 8111946858
commit 8b4f9d066e

View file

@ -14,7 +14,8 @@ namespace widgets {
AccountSwitchPopupWidget::AccountSwitchPopupWidget(QWidget *parent)
: QWidget(parent)
{
this->setWindowFlags(Qt::FramelessWindowHint);
this->setWindowFlag(Qt::FramelessWindowHint);
this->setWindowFlag(Qt::WindowStaysOnTopHint);
this->setContentsMargins(0, 0, 0, 0);