Ignore:
Timestamp:
Aug 2, 2010, 9:27:30 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.6.3 sources from branches/vendor/nokia/qt.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/gui/image/qimage.cpp

    r651 r769  
    119119}
    120120
    121 extern int qt_defaultDpiX();
    122 extern int qt_defaultDpiY();
     121extern int qt_defaultDpiX();
     122extern int qt_defaultDpiY();
    123123
    124124QBasicAtomicInt qimage_serial_number = Q_BASIC_ATOMIC_INITIALIZER(1);
     
    56685668    detach();
    56695669
    5670     *this = convertToFormat(QImage::Format_ARGB32_Premultiplied);
     5670    QImage converted = convertToFormat(QImage::Format_ARGB32_Premultiplied);
     5671    if (!converted.isNull())
     5672        *this = converted;
     5673    else
     5674        return;
    56715675
    56725676    // Slight optimization since alphachannels are returned as 8-bit grays.
Note: See TracChangeset for help on using the changeset viewer.