diff options
author | Alessandro Portale <alessandro.portale@nokia.com> | 2009-10-07 14:16:15 (GMT) |
---|---|---|
committer | Alessandro Portale <alessandro.portale@nokia.com> | 2009-10-07 14:16:39 (GMT) |
commit | bf8d74bb8e849cb9eea74ef8fdb82d8926c48880 (patch) | |
tree | 26d38fecd932c5bab757047ed1fa337c09a1e131 | |
parent | 5ecccd6a67333066978055604a50973d8fb12748 (diff) | |
download | Qt-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
-rw-r--r-- | tests/auto/qtextlayout/tst_qtextlayout.cpp | 5 |
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= |