fix crash when updating Indicators packages

pull/6/head
Michail Vourlakos 6 years ago
parent 583b79314c
commit 2a6620853b

@ -172,7 +172,7 @@ bool Factory::metadataAreValid(QString &file)
{ {
if (QFileInfo(file).exists()) { if (QFileInfo(file).exists()) {
KPluginMetaData metadata = KPluginMetaData::fromDesktopFile(file); KPluginMetaData metadata = KPluginMetaData::fromDesktopFile(file);
return metadataAreValid(metadata); return metadata.isValid();
} }
return false; return false;

Loading…
Cancel
Save