Skip to content

Commit

Permalink
[Qt] Fix segfault when running GUI client with --help or -?
Browse files Browse the repository at this point in the history
  • Loading branch information
Liquid369 committed Apr 16, 2020
1 parent 6482e11 commit a9651af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qt/utilitydialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ HelpMessageDialog::HelpMessageDialog(QWidget* parent, bool about) : QDialog(pare
ui(new Ui::HelpMessageDialog)
{
ui->setupUi(this);
this->setStyleSheet(parent->styleSheet());
if (parent) this->setStyleSheet(parent->styleSheet());
GUIUtil::restoreWindowGeometry("nHelpMessageDialogWindow", this->size(), this);

QString version = tr("DogeCash Core") + " " + tr("version") + " " + QString::fromStdString(FormatFullVersion());
Expand Down

0 comments on commit a9651af

Please sign in to comment.