platformsupport/dbustray: mark some types as movable
At least on is already held in QVector. Change-Id: Ifa29d924315a9d397bd591ae548f199dcefa03a4 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>bb10
parent
9d250d7be8
commit
b8970e3e81
|
|
@ -56,6 +56,7 @@ struct QXdgDBusImageStruct
|
|||
int height;
|
||||
QByteArray data;
|
||||
};
|
||||
Q_DECLARE_TYPEINFO(QXdgDBusImageStruct, Q_MOVABLE_TYPE);
|
||||
|
||||
typedef QVector<QXdgDBusImageStruct> QXdgDBusImageVector;
|
||||
|
||||
|
|
@ -69,6 +70,7 @@ struct QXdgDBusToolTipStruct
|
|||
QString title;
|
||||
QString subTitle;
|
||||
};
|
||||
Q_DECLARE_TYPEINFO(QXdgDBusToolTipStruct, Q_MOVABLE_TYPE);
|
||||
|
||||
const QDBusArgument &operator<<(QDBusArgument &argument, const QXdgDBusImageStruct &icon);
|
||||
const QDBusArgument &operator>>(const QDBusArgument &argument, QXdgDBusImageStruct &icon);
|
||||
|
|
|
|||
Loading…
Reference in New Issue