Reduce the usage of QAbstractVideoBufferPrivate.
Move the handle type to the base class (since it's always needed) and don't allocate the private class in the default paths. Change-Id: I870a315310ce740f07b1d43cedecfce21feae505 Reviewed-by: Dmytro Poplavskiy <dmytro.poplavskiy@nokia.com>
This commit is contained in:
committed by
Qt by Nokia
parent
f5e3fdc4a7
commit
d1b0862ad4
@@ -96,7 +96,8 @@ public:
|
||||
protected:
|
||||
QAbstractVideoBuffer(QAbstractVideoBufferPrivate &dd, HandleType type);
|
||||
|
||||
QAbstractVideoBufferPrivate *d_ptr;
|
||||
QAbstractVideoBufferPrivate *d_ptr; // For expansion, not used currently
|
||||
HandleType m_type;
|
||||
|
||||
private:
|
||||
Q_DECLARE_PRIVATE(QAbstractVideoBuffer)
|
||||
|
||||
Reference in New Issue
Block a user