Skip to content
This repository has been archived by the owner on Oct 17, 2019. It is now read-only.

Commit

Permalink
Fix crash on logout
Browse files Browse the repository at this point in the history
  • Loading branch information
mujx committed Aug 13, 2018
1 parent 34f4071 commit 04c888c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/dialogs/Logout.cpp
Expand Up @@ -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_);
Expand Down

0 comments on commit 04c888c

Please sign in to comment.