QWeakPointer use for tracking QObjects is deprecated.
Use QPointer. Change-Id: Ife3cbec620ec83a9148d274d15e44016a3f5d7d0 Reviewed-by: Jiang Jiang <jiang.jiang@nokia.com>bb10
parent
8c4ac07258
commit
89a962c3a0
|
|
@ -42,7 +42,7 @@
|
|||
#ifndef QCOCOAGLCONTEXT_H
|
||||
#define QCOCOAGLCONTEXT_H
|
||||
|
||||
#include <QtCore/QWeakPointer>
|
||||
#include <QtCore/QPointer>
|
||||
#include <qpa/qplatformopenglcontext.h>
|
||||
#include <QtGui/QOpenGLContext>
|
||||
#include <QtGui/QWindow>
|
||||
|
|
@ -80,7 +80,7 @@ private:
|
|||
NSOpenGLContext *m_context;
|
||||
NSOpenGLContext *m_shareContext;
|
||||
QSurfaceFormat m_format;
|
||||
QWeakPointer<QWindow> m_currentWindow;
|
||||
QPointer<QWindow> m_currentWindow;
|
||||
};
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
|
|
|||
Loading…
Reference in New Issue