Commit 31d116a9 authored by Stephen Thompson's avatar Stephen Thompson

Issue #5344 reduced scope of canDo

parent ed2af800
......@@ -587,7 +587,6 @@ void IGIDataSourceManager::StartPlayback(const QString& directoryPrefix,
IGIDataSourceI::IGITimeType startTime;
IGIDataSourceI::IGITimeType endTime;
bool canDo = false;
if (!m_NameToFactoriesMap.contains(nameOfFactory)
&& !m_LegacyNameToFactoriesMap.contains(nameOfFactory))
......@@ -605,7 +604,7 @@ void IGIDataSourceManager::StartPlayback(const QString& directoryPrefix,
{
m_Sources[sourceNumber]->SetRecordingLocation(directoryPrefix);
m_Sources[sourceNumber]->SetPlaybackSourceName(nameOfSource);
canDo = m_Sources[sourceNumber]->ProbeRecordedData(&startTime, &endTime);
bool canDo = m_Sources[sourceNumber]->ProbeRecordedData(&startTime, &endTime);
if (canDo)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment