1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-25 10:19:41 +01:00

fix our direct copy of clementine's closure class too

This commit is contained in:
Leo Franchi 2012-04-03 08:32:06 -04:00
parent cc7ecc6795
commit f1c33bd67c

View File

@ -42,7 +42,7 @@ class ClosureArgument : public ClosureArgumentWrapper {
explicit ClosureArgument(const T& data) : data_(data) {}
virtual QGenericArgument arg() const {
return Q_ARG(T, data_);
return QArgument<T>(QMetaType::typeName(qMetaTypeId<T>()), data_);
}
private: