mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +03:00
Fix crash on logout
This commit is contained in:
parent
34f4071f64
commit
04c888c44c
1 changed files with 2 additions and 0 deletions
|
@ -47,9 +47,11 @@ Logout::Logout(QWidget *parent)
|
|||
|
||||
confirmBtn_ = new FlatButton("OK", this);
|
||||
confirmBtn_->setFont(buttonFont);
|
||||
confirmBtn_->setRippleStyle(ui::RippleStyle::NoRipple);
|
||||
|
||||
cancelBtn_ = new FlatButton(tr("CANCEL"), this);
|
||||
cancelBtn_->setFont(buttonFont);
|
||||
cancelBtn_->setRippleStyle(ui::RippleStyle::NoRipple);
|
||||
|
||||
buttonLayout->addStretch(1);
|
||||
buttonLayout->addWidget(confirmBtn_);
|
||||
|
|
Loading…
Reference in a new issue