KActionCollection::remove() obsoleted by what?
Waldo Bastian
bastian at kde.org
Sat Aug 30 17:40:23 BST 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Saturday 30 August 2003 17:45, David Faure wrote:
> On Saturday 30 August 2003 17:27, Waldo Bastian wrote:
> > KActionCollection::remove() is marked as obsolete but there is no
> > indication of what should be used instead. Just delete the action?
>
> Yes, since ~KAction says:
>
> // If actionCollection hasn't already been destructed,
> if ( m_parentCollection ) {
> m_parentCollection->take( this );
Hmm.. I tried removing it from libkonq/knewmenu.cc but it crashes when I test
my change. On the bright side, it also crashes without my change.
Cheers,
Waldo
- --
bastian at kde.org -=|[ SuSE, The Linux Desktop Experts ]|=- bastian at suse.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE/UNN3N4pvrENfboIRAq9FAJ4rTrpqdIVS3NysygNuqUCweYNy5wCfTWqZ
KkQM4WzrXwGgbsZDezVSgXY=
=5hXE
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cvs.diff
Type: text/x-diff
Size: 949 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20030830/e240b783/attachment.diff>
More information about the kde-core-devel
mailing list