Skip to content

chore: use DciIcon from dtkdeclarative#67

Merged
BLumia merged 1 commit into
linuxdeepin:masterfrom
BLumia:dciicon
Feb 22, 2024
Merged

chore: use DciIcon from dtkdeclarative#67
BLumia merged 1 commit into
linuxdeepin:masterfrom
BLumia:dciicon

Conversation

@BLumia

@BLumia BLumia commented Jan 24, 2024

Copy link
Copy Markdown
Member

使用 DciIcon 来展示图标。

@BLumia
BLumia requested review from a team and 18202781743 January 24, 2024 03:09
@deepin-ci-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: asterwyx, BLumia

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@18202781743

18202781743 commented Jan 24, 2024

Copy link
Copy Markdown
Contributor

这个提交依赖 linuxdeepin/dtkdeclarative#286 吧,base64的格式,

@BLumia

BLumia commented Jan 24, 2024

Copy link
Copy Markdown
Member Author

目前实际没注意到base64的图标倒是。我晚点再合吧。

@deepin-bot

deepin-bot Bot commented Jan 31, 2024

Copy link
Copy Markdown

TAG Bot

New tag: 0.4.5
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #74

@deepin-bot

deepin-bot Bot commented Feb 2, 2024

Copy link
Copy Markdown

TAG Bot

New tag: 0.4.6
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #77

Comment thread qml/IconItemDelegate.qml
dndItem.currentlyDraggedId = parent.Drag.mimeData["text/x-dde-launcher-dnd-desktopId"]
// TODO: This way we couldn't give it an image size hint,
dndItem.Drag.imageSource = icons ? ("image://folder-icon/" + icons.join(':')) : parent.iconSource
dndItem.Drag.imageSource = icons ? ("image://folder-icon/" + icons.join(':')) : ("image://app-icon/" + DTK.platformTheme.iconThemeName + "/" + parent.iconSource)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里还需要使用app-icon的provider么,

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

有别的合适的方案么?

使用 DciIcon 来展示图标。

Log:
@BLumia
BLumia merged commit ba9b5a8 into linuxdeepin:master Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants