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:
Michael Goddard
2012-06-12 14:54:22 +10:00
committed by Qt by Nokia
parent f5e3fdc4a7
commit d1b0862ad4
3 changed files with 6 additions and 13 deletions

View File

@@ -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)