Expose a getter for the QSGEnginePrivate

This allows getting its underlying QSGContext and QSGRenderContext.

Change-Id: If0773d09b6faa360e706949757db1a6ddbe244e1
Reviewed-by: Gunnar Sletta <gunnar@sletta.org>
This commit is contained in:
Jocelyn Turcotte 2014-10-17 18:14:30 +02:00
parent 8c82d3b6aa
commit 5f3792cd32
1 changed files with 1 additions and 1 deletions

View File

@ -45,8 +45,8 @@ class QSGRenderContext;
class QSGEnginePrivate : public QObjectPrivate
{
Q_DECLARE_PUBLIC(QSGEngine)
public:
static QSGEnginePrivate *get(QSGEngine *engine) { return engine->d_func(); }
QSGEnginePrivate();
QScopedPointer<QSGContext> sgContext;