add account switcher popup flag for linux

This commit is contained in:
ckath 2019-03-27 19:15:37 +01:00 committed by pajlada
parent da1b2f91d9
commit 66294ed99b

View file

@ -14,6 +14,9 @@ AccountSwitchPopupWidget::AccountSwitchPopupWidget(QWidget *parent)
: QWidget(parent) : QWidget(parent)
{ {
this->setWindowFlags(Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint); this->setWindowFlags(Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint);
#ifdef Q_OS_LINUX
this->setWindowFlag(Qt::Popup);
#endif
this->setContentsMargins(0, 0, 0, 0); this->setContentsMargins(0, 0, 0, 0);