If there are no metadata, showing "by Unknown" is a bit strange and
serves not much purpose. So let it show only the filename when no
metadata available.
REVIEW: 122622
this will allow it to be shared by other plugins out there. it does mean
sacrificing the generic "find best paper size" functionality which was
tightly bound to the image wallpaper (in plasma4, this was Plasma::Wallpaper,
so acceptable). Finding the best image is now left up to the plugin,
though I imagine that other plugins will want this eventually as well
and it will find its way into a library somewhere or else just be
copy-and-pasted a lot.
optimal solutin will be using ui scaling of Qt 5.4
use this size as optionam thumbnail size and keep thumbnails
around that size, giving more row/columnsif needed
this gives more optimal sizes and not too blurry thumbmnails
BUG:335424
On my system, I have a symlink /usr/share/wallpapers/kde-default.png ->
/usr/share/wallpapers/Elarun/contents/images/someresolution.png. This
symlink gets processed as an additional image even though it actually
points to an image which is already in the set.
So I changed it to always work with the target rather than symlink and
then it also checks for the target possibly being in a package, if it
is, then it processes the whole package rather than only one file from
it.
This fixes one wallpaper (same path) to be shown twice in the wallpaper
select dialog.
REVIEW: 117601
This is the beginning of revision history for this module. If you
want to look at revision history older than this, please refer to the
techbase wiki for how to use Git history grafting. At the time of
writing, this wiki is located here:
http://community.kde.org/Frameworks/GitOldHistory
If you have already performed the grafting and you don't see any
history beyond this commit, try running "git log" with the "--follow"
argument.
Branched from the monolithic repo kde-workspace, frameworks branch, at commit
049113e719dd2fc4446d054fa1a3aada330094f0