diff options
author | Robert Griebl <rgriebl@trolltech.com> | 2009-04-02 20:44:54 (GMT) |
---|---|---|
committer | Robert Griebl <rgriebl@trolltech.com> | 2009-04-02 20:54:30 (GMT) |
commit | d0f2051a8fe7cb44a04b0a540baafd1aeed06092 (patch) | |
tree | bae3c24f83c9ba27da14c06954e7eca2dffa0daa /src/gui/text/qfontengine_qws.cpp | |
parent | 3f51c30f030a5517273a62bdd48dfe96c98852ee (diff) | |
download | Qt-d0f2051a8fe7cb44a04b0a540baafd1aeed06092.zip Qt-d0f2051a8fe7cb44a04b0a540baafd1aeed06092.tar.gz Qt-d0f2051a8fe7cb44a04b0a540baafd1aeed06092.tar.bz2 |
Make QWS a bit more OS independent.
Some patches needed to support QWS on non-Linux platforms.
Reviewed-by: Paul Olav Tvete
Reviewed-by: Harald Fernengel
Diffstat (limited to 'src/gui/text/qfontengine_qws.cpp')
-rw-r--r-- | src/gui/text/qfontengine_qws.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/text/qfontengine_qws.cpp b/src/gui/text/qfontengine_qws.cpp index d776329..10aef4c 100644 --- a/src/gui/text/qfontengine_qws.cpp +++ b/src/gui/text/qfontengine_qws.cpp @@ -387,7 +387,7 @@ QFontEngineQPF1::QFontEngineQPF1(const QFontDef&, const QString &fn) { cache_cost = 1; - int f = ::open( QFile::encodeName(fn), O_RDONLY ); + int f = ::open( QFile::encodeName(fn), O_RDONLY, 0); Q_ASSERT(f>=0); QT_STATBUF st; if ( QT_FSTAT( f, &st ) ) |