QObject::connect: Cannot queue arguments of type 'POS'
MuseScore 15f899f7bd
We have this error on startup.
QObject::connect: Cannot queue arguments of type 'POS'
(Make sure 'POS' is registered using qRegisterMetaType().)
It's probably due to https://github.com/musescore/MuseScore/blob/master/mscore/scoreview.cpp…
POS is not usable as a slot/signal argument as it. See http://stackoverflow.com/questions/12368712/how-to-use-enums-in-qt-sign…
Comments
adding "Q_DECLARE_METATYPE(Ms::POS);" in score.h might do?
The warning might hide a bigger problem https://github.com/musescore/MuseScore/pull/1035/files#diff-f009b9bbb13…
I don't get the warning with master, only with this branch.
Warning because of emitting posChanged(POS,unsigned) from realtime thread.