diff options
author | q5sys <jt@xsystems.com> | 2017-10-24 16:51:09 -0400 |
---|---|---|
committer | q5sys <jt@xsystems.com> | 2017-10-24 16:51:09 -0400 |
commit | d60dc4c97dc690a4e49693de052fdf8789b02eb3 (patch) | |
tree | fabb61bca1ca0764172f1dc0b1badd855bbf833c | |
parent | removing whitespace (diff) | |
download | lumina-d60dc4c97dc690a4e49693de052fdf8789b02eb3.tar.gz lumina-d60dc4c97dc690a4e49693de052fdf8789b02eb3.tar.bz2 lumina-d60dc4c97dc690a4e49693de052fdf8789b02eb3.zip |
change thumbnail generation to faster method tested in lumina-fm-dev
-rw-r--r-- | src-qt5/desktop-utils/lumina-fm/Browser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); } } } |