EngineBase: Use fully qualified namespace in StateChanged

Makes sure the metatype matches with Qt 5:
QObject::connect: Cannot queue arguments of type 'State'
(Make sure 'State' is registered using qRegisterMetaType().)

Fixes #1446
This commit is contained in:
Jonas Kvinge
2024-05-30 20:09:32 +02:00
parent f0f5300891
commit d7cc52bc99

View File

@@ -184,7 +184,7 @@ class EngineBase : public QObject {
// Signals that the engine's state has changed (a stream was stopped for example).
// Always use the state from event, because it's not guaranteed that immediate subsequent call to state() won't return a stale value.
void StateChanged(const State state);
void StateChanged(const EngineBase::State state);
void VolumeChanged(const uint volume);