+
+/**
+ * This slot function called when ever info button clicked.
+ */
+void TopResultDialog::on_pushButtonInfo_clicked()
+{
+ if(!helpResultsDialog)
+ {
+ helpResultsDialog = new HelpResultsDialog;
+ }
+ connect(helpResultsDialog, SIGNAL(rejected()), this, SLOT(killHelpDialog()));
+ helpResultsDialog->show();
+}
+
+/**
+ * This slot function called when ever dialog rejected.
+ */
+void TopResultDialog::killHelpDialog()
+{
+ if(helpResultsDialog)
+ {
+ qDebug() << "__Top result kill: helpResultsDialog";
+ delete helpResultsDialog;
+ helpResultsDialog = NULL;
+ }
+}