Fix crash when incoming FileTransfer

Otherwise qobject2qvairant complains that a property is missing.

REVIEW: 123214
This commit is contained in:
Aleix Pol 2015-04-01 23:37:25 +02:00
parent 15f87cc46d
commit 80d77fa9b6

View file

@ -43,6 +43,8 @@ class KDECONNECTCORE_EXPORT NetworkPackage : public QObject
Q_PROPERTY( QString id READ id WRITE setId )
Q_PROPERTY( QString type READ type WRITE setType )
Q_PROPERTY( QVariantMap body READ body WRITE setBody )
Q_PROPERTY( QVariantMap payloadTransferInfo READ payloadTransferInfo WRITE setPayloadTransferInfo )
Q_PROPERTY( qint64 payloadSize READ payloadSize WRITE setPayloadSize )
public: