PATCH: use KGuiItem::toolTip and KGuiItem::whatsThis in KPushButton

Aaron J. Seigo aseigo at kde.org
Fri Jan 9 20:41:15 GMT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 09 January 2004 03:07, David Faure wrote:
> > Erh.. After a second thought, I have this vague memory of some KDE code
> > trying to avoid adding the same ToolTip twice, which this patch probably
> > in some cases makes sure will happen, AFAICT.. Will it break stuff? What
> > happens if you add the same ToolTip to a widget twice? (to lazy to
> > test..)
>
> You'll leak memory, AFAIK.

yes... there's a patch in qt-copy to prevent this, but i'm not sure when/if TT 
will be including it in Qt proper.

- -- 
Aaron J. Seigo
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43
while (!horse()); cart();
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iD8DBQE//xHr1rcusafx20MRAlvsAJ49ajj9i7pCkHYhnTbqvSi2aT3tUQCdGJQs
66F2FDQxDU0Kr3Sh/Autnh0=
=h+gl
-----END PGP SIGNATURE-----




More information about the kde-core-devel mailing list