fix timestamp format error

Change-Id: I813a9d2ad2714f5d2f5deacc74f051a3c60ecdcf
This commit is contained in:
石博文 2016-07-18 14:21:30 +08:00 committed by Hualet Wang
parent 2fbb887ee0
commit 2fc9f8e4c5

View File

@ -88,19 +88,19 @@ public Q_SLOTS: // METHODS
{
QList<QVariant> argumentList;
argumentList << QVariant::fromValue(QX11Info::getTimestamp());
argumentList << QVariant::fromValue(quint32(QX11Info::getTimestamp()));
return asyncCallWithArgumentList(QStringLiteral("Activate"), argumentList);
}
inline QDBusPendingReply<> HandleMenuItem(const QString &item)
{
return asyncCall(QStringLiteral("HandleMenuItem"), QVariant::fromValue(QX11Info::getTimestamp()), item);
return asyncCall(QStringLiteral("HandleMenuItem"), QVariant::fromValue(quint32(QX11Info::getTimestamp())), item);
}
inline QDBusPendingReply<> HandleDragDrop(const QStringList &uriList)
{
return asyncCall(QStringLiteral("HandleDragDrop"), QVariant::fromValue(QX11Info::getTimestamp()), QVariant::fromValue(uriList));
return asyncCall(QStringLiteral("HandleDragDrop"), QVariant::fromValue(quint32(QX11Info::getTimestamp())), QVariant::fromValue(uriList));
}
inline QDBusPendingReply<> RequestDock()