don't show help button; not appropriate from widget settings

BUG:254835
This commit is contained in:
Aaron Seigo 2011-12-06 22:55:57 +01:00
parent 9d020ded74
commit 5190b061d1

View File

@ -2030,6 +2030,7 @@ KConfigDialog *AppletPrivate::generateGenericConfigDialog()
dialog->setAttribute(Qt::WA_DeleteOnClose, true);
q->createConfigurationInterface(dialog);
dialog->showButton(KDialog::Default, false);
dialog->showButton(KDialog::Help, false);
QObject::connect(dialog, SIGNAL(applyClicked()), q, SLOT(configDialogFinished()));
QObject::connect(dialog, SIGNAL(okClicked()), q, SLOT(configDialogFinished()));
return dialog;