mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
add account switcher popup flag for linux
This commit is contained in:
parent
da1b2f91d9
commit
66294ed99b
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue