mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-04 15:15:15 -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
|
@ -1380,10 +1380,7 @@ void MainWindow::showHelpDialog()
|
|||
/**< Shows the help browser and displays the given help <b>topic</b>. */
|
||||
void MainWindow::showHelpDialog(const QString &topic)
|
||||
{
|
||||
static HelpBrowser *helpBrowser = 0;
|
||||
if (!helpBrowser)
|
||||
helpBrowser = new HelpBrowser(this);
|
||||
helpBrowser->showWindow(topic);
|
||||
HelpBrowser::showWindow(topic);
|
||||
}
|
||||
|
||||
void MainWindow::on_actionQuick_Start_Wizard_activated()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue