Reduce size of QPpsObject by one pointer
Change-Id: Ibb1bef375e7d23b45595ca759646883820643f02 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>bb10
parent
6af07c57f6
commit
5d4089299a
|
|
@ -492,8 +492,7 @@ void QPpsObjectPrivate::encodeObject(pps_encoder_t *encoder, const QVariantMap &
|
|||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
QPpsObject::QPpsObject(const QString &path, QObject *parent)
|
||||
: QObject(parent),
|
||||
d_ptr(new QPpsObjectPrivate(path))
|
||||
: QObject(*new QPpsObjectPrivate(path), parent)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -118,7 +118,6 @@ Q_SIGNALS:
|
|||
void readyRead();
|
||||
|
||||
private:
|
||||
QScopedPointer<QPpsObjectPrivate> d_ptr;
|
||||
Q_DECLARE_PRIVATE(QPpsObject)
|
||||
Q_DISABLE_COPY(QPpsObject)
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue