Skip to content
Permalink
Browse files

Fix deprecated QWeakPointer use of QObject

  • Loading branch information
nyalldawson committed Jan 29, 2020
1 parent bfffd53 commit f8eaff0145061ac6cb9fbfb71fb81df0994cf3e9
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 f8eaff0

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