mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-17 13:30:36 -04:00
Fixed crash when starting the help browser from friend details the second time.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5305 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
15c032468a
commit
9389849e53
4 changed files with 27 additions and 20 deletions
|
@ -462,8 +462,5 @@ void ConfCertDialog::showHelpDialog()
|
|||
/**< Shows the help browser and displays the given help <b>topic</b>. */
|
||||
void ConfCertDialog::showHelpDialog(const QString &topic)
|
||||
{
|
||||
static HelpBrowser *helpBrowser = 0;
|
||||
if (!helpBrowser)
|
||||
helpBrowser = new HelpBrowser(this);
|
||||
helpBrowser->showWindow(topic);
|
||||
HelpBrowser::showWindow(topic);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue