Use lambdas instead.
Details
Details
- Reviewers
davidedmundson - Group Reviewers
Plasma - Commits
- R242:1419135a5d99: Get rid of QSignalMapper
This is slightly faster.
Verified that applet actions are still added and can be triggered.
Verified that wallpaper actions are still added and can be triggered.
Is it intentional that in AppletInterface removeAction does not remove them from the KActionCollection but only m_actions QStringList? This is only done in the WallpaperInterface.
Diff Detail
Diff Detail
- Repository
- R242 Plasma Framework (Library)
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
Is it intentional that in AppletInterface removeAction does not remove them from the KActionCollection but only m_actions QStringList? This is only done in the WallpaperInterface.
It does implicitly. KactionCollection watches for actions being destroyed.