From 66294ed99b6aef6dbda1553c31bf4c0d3048d3f9 Mon Sep 17 00:00:00 2001 From: ckath Date: Wed, 27 Mar 2019 19:15:37 +0100 Subject: [PATCH] add account switcher popup flag for linux --- src/widgets/AccountSwitchPopupWidget.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/widgets/AccountSwitchPopupWidget.cpp b/src/widgets/AccountSwitchPopupWidget.cpp index 6e9cfcebe..693fe6da0 100644 --- a/src/widgets/AccountSwitchPopupWidget.cpp +++ b/src/widgets/AccountSwitchPopupWidget.cpp @@ -14,6 +14,9 @@ AccountSwitchPopupWidget::AccountSwitchPopupWidget(QWidget *parent) : QWidget(parent) { this->setWindowFlags(Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint); +#ifdef Q_OS_LINUX + this->setWindowFlag(Qt::Popup); +#endif this->setContentsMargins(0, 0, 0, 0);