Changeset 769 for trunk/src/gui/painting/qpdf.cpp
- Timestamp:
- Aug 2, 2010, 9:27:30 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.6.3 (added) merged: 768 /branches/vendor/nokia/qt/current merged: 767 /branches/vendor/nokia/qt/4.6.2 removed
- Property svn:mergeinfo changed
-
trunk/src/gui/painting/qpdf.cpp
r651 r769 55 55 QT_BEGIN_NAMESPACE 56 56 57 extern int qt_defaultDpi();57 Q_GUI_EXPORT extern int qt_defaultDpi(); 58 58 59 59 #ifndef QT_NO_PRINTER … … 972 972 return; 973 973 974 Q_D(QPdfBaseEngine); 974 975 QPainterPath p; 975 976 for (int i=0; i!=pointCount;++i) { … … 977 978 p.lineTo(points[i] + QPointF(0, 0.001)); 978 979 } 980 981 bool hadBrush = d->hasBrush; 982 d->hasBrush = false; 979 983 drawPath(p); 984 d->hasBrush = hadBrush; 980 985 } 981 986 … … 985 990 return; 986 991 992 Q_D(QPdfBaseEngine); 987 993 QPainterPath p; 988 994 for (int i=0; i!=lineCount;++i) { … … 990 996 p.lineTo(lines[i].p2()); 991 997 } 998 bool hadBrush = d->hasBrush; 999 d->hasBrush = false; 992 1000 drawPath(p); 1001 d->hasBrush = hadBrush; 993 1002 } 994 1003
Note:
See TracChangeset
for help on using the changeset viewer.