From 8b4f9d066e30cfc267c22982e9d3ac173e66e280 Mon Sep 17 00:00:00 2001 From: fourtf Date: Sun, 24 Jun 2018 13:10:29 +0200 Subject: [PATCH] fixed account switch popup showing behind the main window --- src/widgets/accountswitchpopupwidget.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/widgets/accountswitchpopupwidget.cpp b/src/widgets/accountswitchpopupwidget.cpp index bc29116ee..5fc8d482d 100644 --- a/src/widgets/accountswitchpopupwidget.cpp +++ b/src/widgets/accountswitchpopupwidget.cpp @@ -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);