Skip to content

Commit

Permalink
EngineBase: Use fully qualified namespace in StateChanged
Browse files Browse the repository at this point in the history
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
  • Loading branch information
jonaski committed May 30, 2024
1 parent f0f5300 commit d7cc52b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine/enginebase.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit d7cc52b

Please sign in to comment.