Am Sonntag, 6. März 2016, 12:19:14 schrieb Thomas Lübking:
> On Sonntag, 6. März 2016 12:10:36 CEST, Frederik Schwarzer wrote:
> >> The most straight forward solution is likely to hide or delete
> >> button(QDialogButtonBox::RestoreDefaults)
> > 
> > I would like to try this but cannot find info on how to hide a
> > standard button.
> > The KDE 4 version did not have that button either so it's at least
> > not worse than before.
> 
> if (QPushButton *restore =
> button(QDialogButtonBox::RestoreDefaults)) restore->hide();

Meh, KDevelop completed to "QDialogButtonBox::Reset" which then 
compiled but crashed without the if() condifion. :)

Thanks.
Frederik

Reply via email to