summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qpdf.cpp
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@nokia.com>2009-11-12 16:55:10 (GMT)
committerJoerg Bornemann <joerg.bornemann@nokia.com>2009-11-12 16:55:10 (GMT)
commit5c7388f16f50cc867180d19c44549a2da2760696 (patch)
tree5a69b6211ea1f2bf3cbc1176fb37715a7e98cac6 /src/gui/painting/qpdf.cpp
parent3f867b487ac1642ce3ae442e2dbbbf56029290cd (diff)
parentf7ee0c9efcb6cb36a95f49bc998524e25480f8ba (diff)
downloadQt-5c7388f16f50cc867180d19c44549a2da2760696.zip
Qt-5c7388f16f50cc867180d19c44549a2da2760696.tar.gz
Qt-5c7388f16f50cc867180d19c44549a2da2760696.tar.bz2
Merge commit 'origin/4.6' into 4.6-ce
Diffstat (limited to 'src/gui/painting/qpdf.cpp')
-rw-r--r--src/gui/painting/qpdf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qpdf.cpp b/src/gui/painting/qpdf.cpp
index 41a7fbb..b640858 100644
--- a/src/gui/painting/qpdf.cpp
+++ b/src/gui/painting/qpdf.cpp
@@ -145,7 +145,7 @@ namespace QPdf {
fileBackingActive(false),
handleDirty(false)
{
- dev->open(QIODevice::ReadWrite);
+ dev->open(QIODevice::ReadWrite | QIODevice::Append);
}
ByteStream::ByteStream(bool fileBacking)