Error with KPassivePopup and OS X compiles

Benjamin Reed rangerrick at befunk.com
Mon Jan 30 02:52:53 GMT 2006


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

Tanner Lovelace wrote:

> KPassivePopup( WId parent );
> KPassivePopup( int popupStyle, QWidget *parent=0, Qt::WFlags f=0 );
> 
> as the compiler cannot resolve which constructor should be called.

I've changed the call in knotify to be this:

- -       KPassivePopup *pop = new KPassivePopup( config->winId );
+       KPassivePopup *pop = new KPassivePopup( config->winId, 0, 0 );

...it's a good enough hack for now just to make it build, but the issue
remains for future code making references to KPassivePopup, so it still
needs a real solution.


- --
Benjamin Reed a.k.a. Ranger Rick
http://ranger.befunk.com/


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD3X+FUu+jZtP2Zf4RAi3lAJ0cf2NT1aILdSU1kzNXXJZqPDw/sACgjUB/
DnxsoORruQl0y6m5TWHyF/U=
=6AzP
-----END PGP SIGNATURE-----




More information about the kde-core-devel mailing list