Changeset 18 in pacpussensors


Ignore:
Timestamp:
Jul 31, 2013, 11:57:02 AM (11 years ago)
Author:
Marek Kurdej
Message:

Minor update: using QImage:byteCount() instead of QImage::numBytes() for Qt5 compatibility.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/StdDbtPlayerComponents/DbtPlyImageManager.cpp

    r16 r18  
    115115        if (firstTime) {
    116116            // send image in shared memory
    117             shmemSize = im_->numBytes();
     117            shmemSize = im_->byteCount();
    118118            LOG_TRACE("'" << mShMemName << "'" << " memory size = " << shmemSize);
    119119            shMem_ = new ShMem(mShMemName.toStdString().c_str(), shmemSize);
Note: See TracChangeset for help on using the changeset viewer.