diff --git a/src/comm/LogReplayLink.cc b/src/comm/LogReplayLink.cc index 872e4a0b38b17c6645621b0739bdb2ea146ec7bc..e6e420b6bf8646cfc1b97bbb6d93af75cbc74e73 100644 --- a/src/comm/LogReplayLink.cc +++ b/src/comm/LogReplayLink.cc @@ -33,7 +33,7 @@ LogReplayLinkConfiguration::LogReplayLinkConfiguration(LogReplayLinkConfiguratio void LogReplayLinkConfiguration::copyFrom(LinkConfiguration *source) { LinkConfiguration::copyFrom(source); - LogReplayLinkConfiguration* ssource = dynamic_cast(source); + auto* ssource = qobject_cast(source); if (ssource) { _logFilename = ssource->logFilename(); } else {