diff --git a/src/widgets/accountswitchpopupwidget.cpp b/src/widgets/accountswitchpopupwidget.cpp index 5fc8d482d..03a494827 100644 --- a/src/widgets/accountswitchpopupwidget.cpp +++ b/src/widgets/accountswitchpopupwidget.cpp @@ -14,8 +14,7 @@ namespace widgets { AccountSwitchPopupWidget::AccountSwitchPopupWidget(QWidget *parent) : QWidget(parent) { - this->setWindowFlag(Qt::FramelessWindowHint); - this->setWindowFlag(Qt::WindowStaysOnTopHint); + this->setWindowFlags(Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint); this->setContentsMargins(0, 0, 0, 0);