mirror of
https://github.com/KDE/latte-dock.git
synced 2025-01-12 01:17:55 +03:00
fix crash when updating Indicators packages
This commit is contained in:
parent
583b79314c
commit
2a6620853b
@ -172,7 +172,7 @@ bool Factory::metadataAreValid(QString &file)
|
||||
{
|
||||
if (QFileInfo(file).exists()) {
|
||||
KPluginMetaData metadata = KPluginMetaData::fromDesktopFile(file);
|
||||
return metadataAreValid(metadata);
|
||||
return metadata.isValid();
|
||||
}
|
||||
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user