summaryrefslogtreecommitdiff
path: root/libopie2
authoralwin <alwin>2004-04-15 07:44:42 (UTC)
committer alwin <alwin>2004-04-15 07:44:42 (UTC)
commit41203805fb5e70df84cc2894dbd6e030c6355041 (patch) (side-by-side diff)
tree3bffe09aeff1a69d9912193c481a2effe990d5db /libopie2
parent20175bc18b278426c80ff890853cbf54839f88be (diff)
downloadopie-41203805fb5e70df84cc2894dbd6e030c6355041.zip
opie-41203805fb5e70df84cc2894dbd6e030c6355041.tar.gz
opie-41203805fb5e70df84cc2894dbd6e030c6355041.tar.bz2
using other values when scaled loading of jpegs
Diffstat (limited to 'libopie2') (more/less context) (show whitespace changes)
-rw-r--r--libopie2/opiemm/oimagescrollview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libopie2/opiemm/oimagescrollview.cpp b/libopie2/opiemm/oimagescrollview.cpp
index 0e86bd0..68b06af 100644
--- a/libopie2/opiemm/oimagescrollview.cpp
+++ b/libopie2/opiemm/oimagescrollview.cpp
@@ -87,25 +87,25 @@ void OImageScrollView::loadJpeg(bool interncall)
QString param;
bool real_load = false;
if (AutoScale()) {
if (!interncall) {
int wid, hei;
wid = QApplication::desktop()->width();
hei = QApplication::desktop()->height();
if (hei>wid) {
wid = hei;
} else {
hei = wid;
}
- param = QString( "Fast Shrink( 7 ) Scale( %1, %2, ScaleFree)" ).arg( wid ).arg( hei );
+ param = QString( "Fast Shrink( 3 ) Scale( %1, %2, ScaleFree)" ).arg( wid ).arg( hei );
odebug << "Load jpeg scaled \"" << param << "\"" << oendl;
iio.setParameters(param.latin1());
setImageScaledLoaded(true);
real_load = true;
}
} else {
if (ImageScaledLoaded()||!interncall) {
odebug << "Load jpeg unscaled" << oendl;
real_load = true;
}
setImageScaledLoaded(false);
}