From 13d28d0d8ba1bb821f2e3f8b061729670abb4537 Mon Sep 17 00:00:00 2001 From: Lajamerr Mittesdine Date: Mon, 25 Jun 2018 00:55:03 -0400 Subject: [PATCH] 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. --- src/widgets/accountswitchpopupwidget.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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);