From b3ccf3f07dcf8963f305c83bb31c37d34fffb0a7 Mon Sep 17 00:00:00 2001 From: thunder2 Date: Wed, 28 Apr 2010 12:49:43 +0000 Subject: [PATCH] crash with second open of HelpDialog solved git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2811 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- retroshare-gui/src/gui/AboutDialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/retroshare-gui/src/gui/AboutDialog.cpp b/retroshare-gui/src/gui/AboutDialog.cpp index 89dbe5fe7..99b74e52b 100644 --- a/retroshare-gui/src/gui/AboutDialog.cpp +++ b/retroshare-gui/src/gui/AboutDialog.cpp @@ -173,8 +173,8 @@ void AboutDialog::mousePressEvent(QMouseEvent *e) { void AboutDialog::on_help_button_clicked() { - static HelpDialog *helpdlg = new HelpDialog (this); - helpdlg->show(); + HelpDialog helpdlg (this); + helpdlg.exec(); } AWidget::AWidget() {