aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-fm/Browser.cpp
diff options
context:
space:
mode:
authorq5sys <jt@xsystems.com>2017-10-24 16:51:09 -0400
committerq5sys <jt@xsystems.com>2017-10-24 16:51:09 -0400
commitd60dc4c97dc690a4e49693de052fdf8789b02eb3 (patch)
treefabb61bca1ca0764172f1dc0b1badd855bbf833c /src-qt5/desktop-utils/lumina-fm/Browser.cpp
parentremoving whitespace (diff)
downloadlumina-d60dc4c97dc690a4e49693de052fdf8789b02eb3.tar.gz
lumina-d60dc4c97dc690a4e49693de052fdf8789b02eb3.tar.bz2
lumina-d60dc4c97dc690a4e49693de052fdf8789b02eb3.zip
change thumbnail generation to faster method tested in lumina-fm-dev
Diffstat (limited to 'src-qt5/desktop-utils/lumina-fm/Browser.cpp')
-rw-r--r--src-qt5/desktop-utils/lumina-fm/Browser.cpp2
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);
}
}
}
bgstack15