BUG: 374541
Details
Details
- Reviewers
apol mart - Group Reviewers
Plasma - Commits
- R290:8391e022e0f0: [PackageLoader] Don't access invalid KPluginMetadata
Compiles
Hmm, according to docs of KPluginMetadata pluginId()
@return the internal name of the plugin (for KParts Plugins this is
the same name as set in the .rc file). If the plugin name property is not set in
the metadata this will return the plugin file name without the file extension."
and for isValid()
If this is @c true pluginId() will return a non-empty string.
So accessing pluginId() should always be safe?
Also, docs for KPluginLoader::findPlugins say
Only plugins which have JSON metadata will be considered.
So I would assume it should never return invalid KPluginMetadata? Dunno...
Diff Detail
Diff Detail
- Repository
- R290 KPackage
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.