From 9243c1614da5788a5b70a0d418e61ce72b0d730a Mon Sep 17 00:00:00 2001 From: csoler Date: Sun, 9 May 2010 13:54:52 +0000 Subject: [PATCH] Ported trunk commit 2811: crash with second open of HelpDialog solved git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2877 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 d076c5d1c..391411054 100644 --- a/retroshare-gui/src/gui/AboutDialog.cpp +++ b/retroshare-gui/src/gui/AboutDialog.cpp @@ -150,8 +150,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() {