aboutsummaryrefslogtreecommitdiffstats
path: root/desktop-widgets/modeldelegates.cpp
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-12-28 14:43:56 +0100
committerGravatar bstoeger <32835590+bstoeger@users.noreply.github.com>2021-01-01 21:10:10 +0100
commit1d9392670053c4b4d49f2c7149a2a99e636c6b57 (patch)
treef15e109b812bf5e82d3e75c961a0c5e8b8f6e14e /desktop-widgets/modeldelegates.cpp
parent4ca40bc15262193cec29f1aea02ac6964634b88c (diff)
downloadsubsurface-1d9392670053c4b4d49f2c7149a2a99e636c6b57.tar.gz
core: move renderSVGIcon() to qthelper.cpp
The renderIcon() function was used by the thumbnailer to render SVG-based icons. Move it to the global qthelper.cpp so that it can also be used by the statistics module. Add "SVG" to the name to emphasize what it is used for. For consistency also move the renderSVGIconWidth() function, which renders to a fixed width, to qthelper.cpp Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/modeldelegates.cpp')
0 files changed, 0 insertions, 0 deletions