Changeset 781
- Timestamp:
- Aug 11, 2010, 3:07:26 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gui/painting/qpdf.cpp
r769 r781 1690 1690 return false; 1691 1691 } 1692 #if defined(Q_WS_PM) 1693 // some CUPS versions don't set the mode of the returned fd to O_BINARY 1694 // which is vital for correct PDF generation (consider binary blocks); 1695 // force it here 1696 ::setmode(ret.first, O_BINARY); 1697 #endif 1692 1698 cupsTempFile = ret.second; 1693 1699 outDevice = new QFile();
Note:
See TracChangeset
for help on using the changeset viewer.