MythImage *MythPainter::GetFormatImage(void) { QMutexLocker locker(&m_allocationLock); MythImage *result = GetFormatImagePriv(); result->SetFileName("GetFormatImage"); m_allocatedImages.insert(result); return result; }
MythImage *MythPainter::GetFormatImage() { m_allocationLock.lock(); MythImage *result = GetFormatImagePriv(); m_allocatedImages.append(result); m_allocationLock.unlock(); return result; }