Re: Porting feedback: Hiding the Help button in KConfigDialog

2014-02-24 Thread David Faure
On Sunday 23 February 2014 20:12:05 Kevin Krammer wrote: > On Sunday, 2014-02-23, 18:41:38, David Faure wrote: > > On Sunday 23 February 2014 14:17:29 Kevin Krammer wrote: > > > But usage of the button box already leaks, there are two protected > > > accessors to it. > > > > In which class? You l

Re: Porting feedback: Hiding the Help button in KConfigDialog

2014-02-23 Thread Kevin Krammer
On Sunday, 2014-02-23, 18:41:38, David Faure wrote: > On Sunday 23 February 2014 14:17:29 Kevin Krammer wrote: > > But usage of the button box already leaks, there are two protected > > accessors to it. > > In which class? You lost me. KPageDialog, base class of KConfigDialog according to the AP

Re: Porting feedback: Hiding the Help button in KConfigDialog

2014-02-23 Thread David Faure
On Sunday 23 February 2014 14:17:29 Kevin Krammer wrote: > But usage of the button box already leaks, there are two protected > accessors to it. In which class? You lost me. -- David Faure, fa...@kde.org, http://www.davidfaure.fr Working on KDE, in particular KDE Frameworks 5 _

Re: Porting feedback: Hiding the Help button in KConfigDialog

2014-02-23 Thread Kevin Krammer
On Sunday, 2014-02-23, 10:54:01, Kevin Ottens wrote: > On Sunday 23 February 2014 10:08:13 David Faure wrote: > > On Monday 17 February 2014 16:00:08 Eike Hein wrote: > > > Hi, > > > > > > in the KDialog-based KConfigDialog of yesteryear, it was fairly easy > > > > > > to hide the Help button: >

Re: Porting feedback: Hiding the Help button in KConfigDialog

2014-02-23 Thread Kevin Ottens
On Sunday 23 February 2014 10:08:13 David Faure wrote: > On Monday 17 February 2014 16:00:08 Eike Hein wrote: > > Hi, > > > > in the KDialog-based KConfigDialog of yesteryear, it was fairly easy > > > > to hide the Help button: > > dialog->button(KDialog::Help)->hide(); > > > > This is useful

Re: Porting feedback: Hiding the Help button in KConfigDialog

2014-02-23 Thread David Faure
On Monday 17 February 2014 16:00:08 Eike Hein wrote: > Hi, > > in the KDialog-based KConfigDialog of yesteryear, it was fairly easy > to hide the Help button: > > dialog->button(KDialog::Help)->hide(); > > This is useful for apps that don't (yet) ship a handbook, since it > avoids mounting use

Porting feedback: Hiding the Help button in KConfigDialog

2014-02-17 Thread Eike Hein
Hi, in the KDialog-based KConfigDialog of yesteryear, it was fairly easy to hide the Help button: dialog->button(KDialog::Help)->hide(); This is useful for apps that don't (yet) ship a handbook, since it avoids mounting user frustration when a click on Help actually re- sults in a nasty error