summaryrefslogtreecommitdiffstats
path: root/tests/auto/qtextlayout
diff options
context:
space:
mode:
authorAlessandro Portale <alessandro.portale@nokia.com>2009-10-07 14:16:15 (GMT)
committerAlessandro Portale <alessandro.portale@nokia.com>2009-10-07 14:16:39 (GMT)
commitbf8d74bb8e849cb9eea74ef8fdb82d8926c48880 (patch)
tree26d38fecd932c5bab757047ed1fa337c09a1e131 /tests/auto/qtextlayout
parent5ecccd6a67333066978055604a50973d8fb12748 (diff)
downloadQt-bf8d74bb8e849cb9eea74ef8fdb82d8926c48880.zip
Qt-bf8d74bb8e849cb9eea74ef8fdb82d8926c48880.tar.gz
Qt-bf8d74bb8e849cb9eea74ef8fdb82d8926c48880.tar.bz2
Fix tst_QTextLayout::testTabDPIScale
Symbian has a different default font size than other OSses. Consider that fact in tst_QTextLayout::testTabDPIScale Reviewed-By: Liang QI
Diffstat (limited to 'tests/auto/qtextlayout')
-rw-r--r--tests/auto/qtextlayout/tst_qtextlayout.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/qtextlayout/tst_qtextlayout.cpp b/tests/auto/qtextlayout/tst_qtextlayout.cpp
index 5ccae94..f63742a 100644
--- a/tests/auto/qtextlayout/tst_qtextlayout.cpp
+++ b/tests/auto/qtextlayout/tst_qtextlayout.cpp
@@ -55,7 +55,12 @@
#include <qdebug.h>
+// Same font point size values as in QFont::QFont(..)
+#ifdef Q_OS_SYMBIAN
+#define TESTFONT_SIZE 7
+#else
#define TESTFONT_SIZE 12
+#endif
//TESTED_CLASS=
//TESTED_FILES=