diff --git a/src/musikcore/audio/PlaybackService.cpp b/src/musikcore/audio/PlaybackService.cpp index 2b6fcb2dc..dc7971031 100755 --- a/src/musikcore/audio/PlaybackService.cpp +++ b/src/musikcore/audio/PlaybackService.cpp @@ -454,8 +454,8 @@ void PlaybackService::ProcessMessage(IMessage &message) { if (masterTransport) { const TransportType transportType = static_cast( playbackPrefs->GetInt( - keys::Transport.c_str()), - static_cast(TransportType::Gapless)); + keys::Transport, + static_cast(TransportType::Gapless))); if (masterTransport->GetType() != transportType) { masterTransport->SwitchTo(transportType);