1
0
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:
Michail Vourlakos 2019-05-28 19:02:04 +03:00
parent 583b79314c
commit 2a6620853b

View File

@ -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;