[kio-extras] [Bug 375333] Folders thumbnails : custom folder icon overridden by default folder icon

Mahendra Tallur bugzilla_noreply at kde.org
Fri Jan 20 09:49:51 UTC 2017


https://bugs.kde.org/show_bug.cgi?id=375333

--- Comment #1 from Mahendra Tallur <mahen at free.fr> ---
I'm pasting Rog's comment on my preview bugreport which I'm about to close :


By my knowledge the kio-extras. Folder thumbnailing is using the icon theme
directory icon. ie:

https://cgit.kde.org/kio-extras.git/  ->  /kio-extras/thumbnail/thumbnail.cpp
has, from line 466:

//Use the current (custom) folder icon
const QMimeDatabase db;
const QString iconName = db.mimeTypeForName("inode/directory").iconName();

const QPixmap folder = QIcon::fromTheme(iconName).pixmap(qMin(m_width,
m_height));

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Plasma-devel mailing list