Skip to content

Commit

Permalink
Revert "Make mythgallery's thumb generator not auto-detect"
Browse files Browse the repository at this point in the history
This reverts commit d1ab62d.

Ref #9523

Seems that this well-intentioned patch does in fact break the thumbnails for
directories completely.  As this is the case, I'm removing it.  We do plan to
completely rework mythgallery to be using the mythui throughout, and perhaps
at that time, we can look at making it more efficient.  In the meantime, this
is borked, so it's coming out.
  • Loading branch information
Beirdo committed Jul 27, 2011
1 parent e2295b3 commit 6ef7b6e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion mythplugins/mythgallery/mythgallery/thumbgenerator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,6 @@ void ThumbGenerator::loadDir(QImage& image, const QFileInfo& fi)
{
f = &(*it);
QImageReader testread(f->absoluteFilePath());
testread.setAutoDetectImageFormat(false);
if (testread.canRead())
{
found = true;
Expand Down

0 comments on commit 6ef7b6e

Please sign in to comment.