Ignore:
Timestamp:
Feb 13, 2010, 6:36:55 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

gui: Adopted to 4.6.1 changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gui/painting/qpaintdevice_pm.cpp

    r564 r569  
    5050QT_BEGIN_NAMESPACE
    5151
    52 QPaintDevice::QPaintDevice()
    53 {
    54     painters = 0;
    55 }
    56 
    57 extern void qt_painter_removePaintDevice(QPaintDevice *); //qpainter.cpp
    58 
    59 QPaintDevice::~QPaintDevice()
    60 {
    61     if (paintingActive())
    62         qWarning("QPaintDevice: Cannot destroy paint device that is being "
    63                   "painted.  Be sure to QPainter::end() painters!");
    64     qt_painter_removePaintDevice(this);
    65 }
    66 
    67 int QPaintDevice::metric(PaintDeviceMetric) const
    68 {
    69     qWarning("QPaintDevice::metrics: Device has no metric information");
    70     return 0;
    71 }
     52// Nothing to be done here so far
    7253
    7354QT_END_NAMESPACE
Note: See TracChangeset for help on using the changeset viewer.