mirror of https://gitee.com/openkylin/peony.git
[FIX] #155953 【HWE-PP】【文件管理器】系统应用快捷方式在属性界面修改自定义图标后不生效,刷新后也不生效
This commit is contained in:
parent
aa7cb6a8e6
commit
43853e0850
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue