Small kdelibs patch

Albert Astals Cid astals11 at terra.es
Mon Jan 10 23:50:14 GMT 2005


Here comes the new patch with the KGuiItem as Stephan suggested, looks better 
now :-)

As for the KConfig *c = KGlobal::config(); i am removing it because nobody 
uses c in that funcion and i don't think it is needed to have a 
KGlobal::config(); call to do something, but if the KGlobal::config(); is 
really needed it should be commeted properly.

Agree to commit now?

Albert
A Dilluns 10 Gener 2005 20:24, Stephan Binner va escriure:
> On Monday 10 January 2005 19:55, Albert Astals Cid wrote:
> > Have not checked, but if they don't have a similar behaviour then
> >   Use setButtonOk() instead.
>
> setButtonOk() is the right one but your implicitely created text-only
> KGuiItem are not. Use KStdGuiItem::open() and
> KGuiItem(i18n("C&reate"),"filenew") and the dialog will look even better
> than before.
>
> Bye,
>    Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdelibs.patch
Type: text/x-diff
Size: 2392 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20050111/f82b8b03/attachment.patch>


More information about the kde-core-devel mailing list