d1296a4
diff -up qt-everywhere-opensource-src-4.8.0/src/gui/painting/qpdf.cpp.QTBUG-14724 qt-everywhere-opensource-src-4.8.0/src/gui/painting/qpdf.cpp
d1296a4
--- qt-everywhere-opensource-src-4.8.0/src/gui/painting/qpdf.cpp.QTBUG-14724	2011-10-03 22:44:31.000000000 -0500
d1296a4
+++ qt-everywhere-opensource-src-4.8.0/src/gui/painting/qpdf.cpp	2011-10-17 10:55:49.713265396 -0500
d1296a4
@@ -1686,6 +1686,7 @@ bool QPdfBaseEnginePrivate::openPrintDev
d1296a4
         cupsTempFile = ret.second;
d1296a4
         outDevice = new QFile();
d1296a4
         static_cast<QFile *>(outDevice)->open(ret.first, QIODevice::WriteOnly);
d1296a4
+        fd = ret.first;
d1296a4
 #endif
d1296a4
 #ifndef QT_NO_LPR
d1296a4
     } else {