refs #641, moved last simulator selection to caches

* removed from component cache
* kept renamed component caches as stubs for later usage

refs #646, removed gui state cache as it causes build issues on Jenkins
(idea was to keep the classes as stubs for later usage)
This commit is contained in:
Klaus Basan
2016-04-25 01:08:10 +02:00
parent 48bcb105cd
commit 43f9515eaa
20 changed files with 320 additions and 392 deletions

View File

@@ -100,11 +100,11 @@ namespace BlackMisc
this->setCachedModels(models); // not thread safe
}
// currently I treat no data as error
emit this->loadingFinished(hasData, this->m_simulatorInfo);
emit this->loadingFinished(hasData, this->getSimulator());
}
else
{
emit this->loadingFinished(false, this->m_simulatorInfo);
emit this->loadingFinished(false, this->getSimulator());
}
});
}
@@ -120,7 +120,7 @@ namespace BlackMisc
this->setCachedModels(models); // not thread safe
}
// currently I treat no data as error
emit this->loadingFinished(hasData, this->m_simulatorInfo);
emit this->loadingFinished(hasData, this->getSimulator());
}
}
@@ -128,7 +128,7 @@ namespace BlackMisc
{
if (this->hasCachedData())
{
emit this->loadingFinished(true, this->m_simulatorInfo);
emit this->loadingFinished(true, this->getSimulator());
}
}