- Timestamp:
- Feb 17, 2010, 9:58:24 PM (15 years ago)
- Location:
- trunk/src/gui/painting
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gui/painting/qcups.cpp
r573 r574 377 377 if (!isAvailable()) 378 378 return false; 379 return _cupsGetPPD(printerName) != 0; 379 const char *ppdFile = _cupsGetPPD(printerName); 380 if (ppdFile != 0) 381 unlink(ppdFile); 382 return ppdFile != 0; 380 383 } 381 384 -
trunk/src/gui/painting/qpdf.cpp
r573 r574 1684 1684 outDevice = new QFile(); 1685 1685 static_cast<QFile *>(outDevice)->open(ret.first, QIODevice::WriteOnly); 1686 // save fd to get the temporary file closed in closePrintDevice() 1687 fd = ret.first; 1686 1688 #endif 1687 1689 #ifndef QT_NO_LPR
Note:
See TracChangeset
for help on using the changeset viewer.