mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
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.
This commit is contained in:
parent
0245bd5c3a
commit
13d28d0d8b
1 changed files with 1 additions and 2 deletions
|
@ -14,8 +14,7 @@ namespace widgets {
|
||||||
AccountSwitchPopupWidget::AccountSwitchPopupWidget(QWidget *parent)
|
AccountSwitchPopupWidget::AccountSwitchPopupWidget(QWidget *parent)
|
||||||
: QWidget(parent)
|
: QWidget(parent)
|
||||||
{
|
{
|
||||||
this->setWindowFlag(Qt::FramelessWindowHint);
|
this->setWindowFlags(Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint);
|
||||||
this->setWindowFlag(Qt::WindowStaysOnTopHint);
|
|
||||||
|
|
||||||
this->setContentsMargins(0, 0, 0, 0);
|
this->setContentsMargins(0, 0, 0, 0);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue