help url's are now found in the XML startup file and are not hardcoded anymore.

This commit is contained in:
nemu
2010-03-10 07:01:55 +00:00
parent f51b136df4
commit ae38aaf583
7 changed files with 123 additions and 36 deletions

View File

@@ -1397,7 +1397,7 @@ void PTextEdit::musrGetAsymmetryDefault()
{
QString runFileName, beamline, institute, fileFormat;
PGetDefaultDialog *dlg = new PGetDefaultDialog();
PGetDefaultDialog *dlg = new PGetDefaultDialog(fAdmin->getHelpUrl("main"));
if (dlg == 0) {
QMessageBox::critical(this, "**ERROR**", "Couldn't invoke get default dialog, sorry :-(", QMessageBox::Ok, QMessageBox::NoButton);
@@ -2098,7 +2098,7 @@ void PTextEdit::musrSwapMsrMlog()
*/
void PTextEdit::helpContents()
{
PHelp *help = new PHelp("https://wiki.intranet.psi.ch/MUSR/WebHome");
PHelp *help = new PHelp(fAdmin->getHelpUrl("main"));
help->show();
}