]> cloud.milkyroute.net Git - dolphin.git/commit
Consider all thumbnailers for the information panel and tooltips
authorFabian Vogt <fabian@ritter-vogt.de>
Wed, 29 Aug 2018 08:00:24 +0000 (10:00 +0200)
committerFabian Vogt <fabian@ritter-vogt.de>
Wed, 29 Aug 2018 15:19:42 +0000 (17:19 +0200)
commit1d943518ad2b7f6f26bbe05588134758ec424055
tree9d0d8024de3ec96c90c0f44874613b4377a19168
parent44a21ea51a055c7429ddee866e35b0a5a21c072b
Consider all thumbnailers for the information panel and tooltips

Summary:
The text thumbnail is really useful in tooltips, but disabled by default in
KIO. Having just a larger version of the placeholder icon from the theme
doesn't make a lot of sense, so try the best to get a proper preview.
Same applies to the information panel, which would otherwise just
show the same icon.

Test Plan:
Got textfile previews in tooltips and in the information panel even if
disabled.

Reviewers: #dolphin, elvisangelaccio, broulik, markg, ngraham

Reviewed By: #dolphin, broulik, ngraham

Subscribers: abetts, markg, kfm-devel, ngraham

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D15138
src/panels/information/informationpanelcontent.cpp
src/views/tooltips/tooltipmanager.cpp