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:
parent
cc7ecc6795
commit
f1c33bd67c
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user