summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-reader/FontControl.cpp
Side-by-side diff
Diffstat (limited to 'noncore/apps/opie-reader/FontControl.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/opie-reader/FontControl.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/noncore/apps/opie-reader/FontControl.cpp b/noncore/apps/opie-reader/FontControl.cpp
index cfa8534..d082898 100644
--- a/noncore/apps/opie-reader/FontControl.cpp
+++ b/noncore/apps/opie-reader/FontControl.cpp
@@ -1,7 +1,16 @@
+#include <qfontdatabase.h>
+#include "opie.h"
+#include "useqpe.h"
#include "FontControl.h"
int FontControl::gzoom()
{
+ if (m_fixgraphics)
+ {
+ return 100;
+ }
+ else
+ {
int ret;
if (m_size == g_size)
{
@@ -21,6 +30,7 @@ int FontControl::gzoom()
}
return ret;
}
+}
bool FontControl::ChangeFont(QString& n, int tgt)
{