Fix crash on logout

This commit is contained in:
Konstantinos Sideris 2018-08-13 09:35:55 +03:00
parent 34f4071f64
commit 04c888c44c

View file

@ -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_);