Fix crash on logout

pull/1/head
Konstantinos Sideris 7 years ago
parent 34f4071f64
commit 04c888c44c
  1. 2
      src/dialogs/Logout.cpp

@ -47,9 +47,11 @@ Logout::Logout(QWidget *parent)
confirmBtn_ = new FlatButton("OK", this); confirmBtn_ = new FlatButton("OK", this);
confirmBtn_->setFont(buttonFont); confirmBtn_->setFont(buttonFont);
confirmBtn_->setRippleStyle(ui::RippleStyle::NoRipple);
cancelBtn_ = new FlatButton(tr("CANCEL"), this); cancelBtn_ = new FlatButton(tr("CANCEL"), this);
cancelBtn_->setFont(buttonFont); cancelBtn_->setFont(buttonFont);
cancelBtn_->setRippleStyle(ui::RippleStyle::NoRipple);
buttonLayout->addStretch(1); buttonLayout->addStretch(1);
buttonLayout->addWidget(confirmBtn_); buttonLayout->addWidget(confirmBtn_);

Loading…
Cancel
Save