Skip to content

fix: wrong availableSizes for DIconProxyEngine - #228

Merged
18202781743 merged 1 commit into
linuxdeepin:masterfrom
18202781743:wrong-avaiablesize
Mar 12, 2024
Merged

fix: wrong availableSizes for DIconProxyEngine #228
18202781743 merged 1 commit into
linuxdeepin:masterfrom
18202781743:wrong-avaiablesize

Conversation

@18202781743

Copy link
Copy Markdown
Contributor

We should call proxy's availableSizes function.
availableSizes always return empty list for icons, it causes
QPainter::begin: Paint device returned engine == 0 when painting
to QImage.

deepin-ci-robot added a commit to linuxdeepin/dtk6gui that referenced this pull request Mar 7, 2024
Synchronize source files from linuxdeepin/dtkgui.

Source-pull-request: linuxdeepin/dtkgui#228
@deepin-bot

deepin-bot Bot commented Mar 7, 2024

Copy link
Copy Markdown
Contributor

Doc Check bot
🟡 some documents missing!

File Line Symbol
src/util/private/diconproxyengine_p.h 43 bool Dtk::Gui::DIconProxyEngine::isNull
src/util/private/diconproxyengine_p.h 45 QString Dtk::Gui::DIconProxyEngine::themeName
src/util/private/diconproxyengine_p.h 47 QString Dtk::Gui::DIconProxyEngine::proxyKey

@18202781743 18202781743 changed the title [ fix: wrong availableSizes for DIconProxyEngine Mar 7, 2024
@deepin-bot

deepin-bot Bot commented Mar 11, 2024

Copy link
Copy Markdown
Contributor

TAG Bot

New tag: 5.6.25
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #227

  We should call proxy's `availableSizes` function.
  `availableSizes` always return empty list for icons, it causes
`QPainter::begin: Paint device returned engine == 0` when painting
to QImage.
deepin-ci-robot added a commit to linuxdeepin/dtk6gui that referenced this pull request Mar 12, 2024
Synchronize source files from linuxdeepin/dtkgui.

Source-pull-request: linuxdeepin/dtkgui#228
@deepin-ci-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: 18202781743, BLumia, kegechen

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 merged commit 9d26730 into linuxdeepin:master Mar 12, 2024
18202781743 pushed a commit to linuxdeepin/dtk6gui that referenced this pull request Mar 12, 2024
Synchronize source files from linuxdeepin/dtkgui.

Source-pull-request: linuxdeepin/dtkgui#228
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