diff options
author | Olivier Goffart <olivier.goffart@nokia.com> | 2011-07-13 10:40:36 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-07-20 10:29:05 +0200 |
commit | a39ca22b4d30c9ea568c5d24f1b5bbf388f033ed (patch) | |
tree | 3f2a371513c8bf274ca9c4dce9e0163612e7cfbb /src/gui | |
parent | acc16fe3452dc7a6a5e87ec6f5254152d8599893 (diff) |
Do not use qRound with integers
Required for https://qt.gitorious.org/qt/qtbase/merge_requests/17
Change-Id: I5319ea99eb083c5931c55a246f7057fbc88c8fa4
Reviewed-by: Thiago
Reviewed-on: http://codereview.qt.nokia.com/1866
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Olivier Goffart <olivier.goffart@nokia.com>
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/text/qfontdatabase_mac.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/text/qfontdatabase_mac.cpp b/src/gui/text/qfontdatabase_mac.cpp index e1e59b79eb..6876fae630 100644 --- a/src/gui/text/qfontdatabase_mac.cpp +++ b/src/gui/text/qfontdatabase_mac.cpp @@ -334,7 +334,7 @@ void QFontDatabase::load(const QFontPrivate *d, int script) return; // set it to the actual pointsize, so QFontInfo will do the right thing - req.pointSize = qRound(qt_mac_pointsize(d->request, d->dpi)); + req.pointSize = qt_mac_pointsize(d->request, d->dpi); QFontEngine *e = QFontCache::instance()->findEngine(key); if(!e && qt_enable_test_font && req.family == QLatin1String("__Qt__Box__Engine__")) { |