From d60dc4c97dc690a4e49693de052fdf8789b02eb3 Mon Sep 17 00:00:00 2001 From: q5sys Date: Tue, 24 Oct 2017 16:51:09 -0400 Subject: change thumbnail generation to faster method tested in lumina-fm-dev --- src-qt5/desktop-utils/lumina-fm/Browser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src-qt5/desktop-utils/lumina-fm') diff --git a/src-qt5/desktop-utils/lumina-fm/Browser.cpp b/src-qt5/desktop-utils/lumina-fm/Browser.cpp index 10c2567b..29cc5a99 100644 --- a/src-qt5/desktop-utils/lumina-fm/Browser.cpp +++ b/src-qt5/desktop-utils/lumina-fm/Browser.cpp @@ -64,7 +64,7 @@ void Browser::loadItem(QString info, Browser *obj){ file.close(); pix.loadFromData(bytes); if(pix.width() > 256 || pix.height() > 256 ){ - pix = pix.scaled(256,256, Qt::KeepAspectRatio); + pix = pix.scaled(256,256, Qt::KeepAspectRatio, Qt::FastTransformation); } } } -- cgit