mirror of https://gitee.com/openkylin/peony.git
[FIX]修复设置角标为空后不会及时更新的问题
This commit is contained in:
parent
d999858027
commit
056103751c
|
@ -96,6 +96,8 @@ void EmblemProviderManager::querySync(const QString &uri)
|
|||
auto emblems = provider->getFileEmblemIcons(uri);
|
||||
if (!emblems.isEmpty()) {
|
||||
info->setProperty(provider->emblemKey().toUtf8().constData(), emblems);
|
||||
} else {
|
||||
info->setProperty(provider->emblemKey().toUtf8().constData(), QVariant());
|
||||
}
|
||||
}
|
||||
requestUpdateFile(uri);
|
||||
|
|
Loading…
Reference in New Issue