[FIX] #155953 【HWE-PP】【文件管理器】系统应用快捷方式在属性界面修改自定义图标后不生效,刷新后也不生效

This commit is contained in:
Yue-Lan 2023-02-02 14:08:49 +08:00
parent aa7cb6a8e6
commit 43853e0850
1 changed files with 5 additions and 5 deletions

View File

@ -122,11 +122,6 @@ void Peony::ThumbnailJob::run()
return;
}
QString customIcon = property("customIcon").toString();
if (!customIcon.isEmpty()) {
setType(CustomIcon);
}
if (mimeType.startsWith("image/")) {
setType(Image);
} else if (mimeType.contains("pdf")) {
@ -157,6 +152,11 @@ void Peony::ThumbnailJob::run()
}
}
QString customIcon = property("customIcon").toString();
if (!customIcon.isEmpty()) {
setType(CustomIcon);
}
if (strongPtr.get()) {
// QString uri = m_uri;
// ThumbnailManager::getInstance()->createThumbnailInternal(uri, strongPtr);