Ref T157, add context for help calls and call dispatcher

This commit is contained in:
Klaus Basan
2017-09-21 20:46:16 +02:00
committed by Mathew Sutcliffe
parent 0a4accc809
commit ad32d33aa1
6 changed files with 32 additions and 20 deletions

View File

@@ -46,7 +46,10 @@ namespace BlackGui
connect(this, &QWizard::accepted, this, &CConfigurationWizard::ended);
Q_ASSERT_X(sGui, Q_FUNC_INFO, "missing sGui");
connect(this, &QWizard::helpRequested, sGui, &CGuiApplication::showHelp);
connect(this, &QWizard::helpRequested, sGui, [ = ]
{
sGui->showHelp(this);
});
}
CConfigurationWizard::~CConfigurationWizard()