Skip to content
Permalink
Browse files

Merge pull request #34106 from nyalldawson/deprecations3

Fix deprecated QWeakPointer use of QObject
  • Loading branch information
m-kuhn committed Jan 31, 2020
2 parents 0dfd2c9 + f8eaff0 commit c89b511f8c72656115df75e4b160d4082a8ee0d6
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/core/qobjectuniqueptr.h
@@ -23,7 +23,7 @@

#define SIP_NO_FILE

#include <qsharedpointer.h>
#include <QPointer>
#include <qtypeinfo.h>

class QVariant;
@@ -52,7 +52,7 @@ class QObjectUniquePtr
typedef const QObject Type;
};
typedef typename TypeSelector<T>::Type QObjectType;
QWeakPointer<QObjectType> mPtr;
QPointer<QObjectType> mPtr;
public:

/**

0 comments on commit c89b511

Please sign in to comment.
You can’t perform that action at this time.