<!DOCTYPE html><html><head><style type="text/css">body { font-family:'DejaVu Sans'; font-size:13px}</style></head><body><div>On Thu, 09 Oct 2014 19:32:00 +0100, Angela &lt;angela.schmid@wolke7.net&gt; wrote:<br><br>&gt; I would like to select a picture/thumb to be used as a directory thumb  <br>&gt; (in<br>&gt; the parent view).<br>&gt;<br>&gt; At the moment to create a directory thumb it recursives in the directory  <br>&gt; to<br>&gt; find the first possible picture and uses it to create a thumb.<br>&gt;<br>&gt; In iconview.cpp I found the following code:<br>&gt;<br>&gt;         if (item-&gt;IsDir())<br>&gt;         {            // try to find a highlight<br>&gt;             QDir subdir(item-&gt;GetPath(), "*.highlight.*",<br>&gt;                         QDir::Name, QDir::Files);<br>&gt;<br>&gt; I renamed XXXX.JPG to XXXX.highlight.JPG but it was not picked up as the<br>&gt; favorite picture to generate a directory thumb (the .thumbcache has been<br>&gt; deleted).<br>&gt; What does this code do/how should it be used?<br>&gt;<br>&gt; Is there a way to set a favorite picture as the directory thumb or is<br>&gt; something broken?<br>&gt;<br>&gt; Angela<br>&gt;<br><br>That code isn't being used - it's old code for interfacing with&nbsp;<a href="http://galleryproject.org/">http://galleryproject.org/</a>. See <a href="http://marc.info/?l=mythtv-dev&amp;m=107994033415454">http://marc.info/?l=mythtv-dev&amp;m=107994033415454</a><br></div><div><br></div><div>I don't believe there is a way to specify a folder thumb currently. </div><div><br></div><div>However it shouldn't be difficult to add. I knocked up the attached (0.28) patch that uses a thumb called "folder.*", if it exists. I haven't tested it properly but it's a start. (I'm not convinced 'folder' will always be the first file returned)</div></body></html>