Help button was readd to kassistandialog

wilder-work
Montel Laurent 11 years ago
parent 49d8abe4ce
commit 74ccf498d5
  1. 4
      antispam-virus/antispamwizard.cpp

@ -86,8 +86,6 @@ AntiSpamWizard::AntiSpamWizard(WizardMode mode,
ConfigReader reader(mMode, mToolList);
reader.readAndMergeConfig();
mToolList = reader.getToolList();
QPushButton *helpButton = new QPushButton(i18n("Help"));
addActionButton(helpButton);
#ifndef NDEBUG
if (mMode == AntiSpam) {
qCDebug(KMAIL_LOG) << endl << "Considered anti-spam tools:";
@ -138,7 +136,7 @@ AntiSpamWizard::AntiSpamWizard(WizardMode mode,
connect(mVirusRulesPage, &ASWizVirusRulesPage::selectionChanged, this, &AntiSpamWizard::checkVirusRulesSelections);
}
connect(helpButton, &QPushButton::clicked, this, &AntiSpamWizard::slotHelpClicked);
connect(button(QDialogButtonBox::Help), &QPushButton::clicked, this, &AntiSpamWizard::slotHelpClicked);
QTimer::singleShot(0, this, SLOT(checkToolAvailability()));
}

Loading…
Cancel
Save