Fix Account Switcher Popup Widget On Linux

This fixes it for me on Linux.

Not sure if this breaks anything on Windows. Needs some testing.
This commit is contained in:
Lajamerr Mittesdine 2018-06-25 00:55:03 -04:00 committed by fourtf
parent 0245bd5c3a
commit 13d28d0d8b

View file

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