|
|
|
|
@ -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())); |
|
|
|
|
} |
|
|
|
|
|