diff options
author | Qt Continuous Integration System <qt-info@nokia.com> | 2009-12-27 05:38:33 (GMT) |
---|---|---|
committer | Qt Continuous Integration System <qt-info@nokia.com> | 2009-12-27 05:38:33 (GMT) |
commit | 3f74384fd781d6d6028914bb8520340694810a1a (patch) | |
tree | 8d42fbce05e87c2908fcec8572a61c6501be5f15 /src/gui | |
parent | 444fb94e02308bedc7b37a702adb95b740168a94 (diff) | |
parent | 1a1eeba0086d764474546da7fe443bf210d4d974 (diff) | |
download | Qt-3f74384fd781d6d6028914bb8520340694810a1a.zip Qt-3f74384fd781d6d6028914bb8520340694810a1a.tar.gz Qt-3f74384fd781d6d6028914bb8520340694810a1a.tar.bz2 |
Merge branch '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.6-integration
* '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-1:
Use Mono instead of MonoLSB when writing pbm files.
Fix memory leak of QGLGlyphCoord objects in the OpenGL1 paint engine
Add QHostInfo benchmark
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/image/qppmhandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/image/qppmhandler.cpp b/src/gui/image/qppmhandler.cpp index 8ec9efb..f2d51f7 100644 --- a/src/gui/image/qppmhandler.cpp +++ b/src/gui/image/qppmhandler.cpp @@ -264,7 +264,7 @@ static bool write_pbm_image(QIODevice *out, const QImage &sourceImage, const QBy bool gray = format == "pgm"; if (format == "pbm") { - image = image.convertToFormat(QImage::Format_MonoLSB); + image = image.convertToFormat(QImage::Format_Mono); } else if (image.depth() == 1) { image = image.convertToFormat(QImage::Format_Indexed8); } else { |