mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 15:45:46 +08:00
#447, consider cache changed signal in order to avoid issue mentioned here
https://dev.vatsim-germany.org/issues/447#note-11
This commit is contained in:
@@ -125,14 +125,6 @@ namespace BlackMisc
|
||||
}
|
||||
}
|
||||
|
||||
void CAircraftCfgParser::ps_cacheChanged()
|
||||
{
|
||||
if (this->hasCachedData())
|
||||
{
|
||||
emit this->loadingFinished(true, this->getSimulator());
|
||||
}
|
||||
}
|
||||
|
||||
bool CAircraftCfgParser::isLoadingFinished() const
|
||||
{
|
||||
return !m_parserWorker || m_parserWorker->isFinished();
|
||||
|
||||
@@ -64,10 +64,6 @@ namespace BlackMisc
|
||||
virtual void startLoadingFromDisk(LoadMode mode, const ModelConsolidation &modelConsolidation, const QString &directory) override;
|
||||
//! @}
|
||||
|
||||
private slots:
|
||||
//! Cache changed
|
||||
void ps_cacheChanged();
|
||||
|
||||
private:
|
||||
//! Section within file
|
||||
enum FileSection
|
||||
|
||||
Reference in New Issue
Block a user