summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-reader/FontControl.h
authorhash <hash>2002-10-07 04:02:38 (UTC)
committer hash <hash>2002-10-07 04:02:38 (UTC)
commit099bf9c07cc08d50c9637e55a1dd89d9e4b5e9b8 (patch) (side-by-side diff)
treee6050816cfec4470618189cbc4d0d574154aed34 /noncore/apps/opie-reader/FontControl.h
parentd2dc4dc0658f331b7f3d4d1aaf69645b4b02d690 (diff)
downloadopie-099bf9c07cc08d50c9637e55a1dd89d9e4b5e9b8.zip
opie-099bf9c07cc08d50c9637e55a1dd89d9e4b5e9b8.tar.gz
opie-099bf9c07cc08d50c9637e55a1dd89d9e4b5e9b8.tar.bz2
fixed the qt 2.3.4 font size change
Diffstat (limited to 'noncore/apps/opie-reader/FontControl.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-reader/FontControl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/apps/opie-reader/FontControl.h b/noncore/apps/opie-reader/FontControl.h
index ed6c33f..d427680 100644
--- a/noncore/apps/opie-reader/FontControl.h
+++ b/noncore/apps/opie-reader/FontControl.h
@@ -105,7 +105,7 @@ class FontControl
uint best = 0;
for (it = sizes.begin(); it != sizes.end(); it++)
{
- m_fontsizes[i] = (*it)/10;
+ m_fontsizes[i] = (*it);
if (abs(tgt-m_fontsizes[i]) < abs(tgt-m_fontsizes[best]))
{
best = i;