mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-09 13:35:34 +08:00
refs #768, renamed flag name to better represent its meaning
This commit is contained in:
@@ -122,8 +122,8 @@ namespace BlackCore
|
|||||||
CAircraftModelList modelsSkipped;
|
CAircraftModelList modelsSkipped;
|
||||||
CStatusMessageList msgs;
|
CStatusMessageList msgs;
|
||||||
bool directWrite;
|
bool directWrite;
|
||||||
const bool success = CDatastoreUtility::parseSwiftPublishResponse(dataFileData, modelsPublished, modelsSkipped, msgs, directWrite);
|
const bool sendingSuccessful = CDatastoreUtility::parseSwiftPublishResponse(dataFileData, modelsPublished, modelsSkipped, msgs, directWrite);
|
||||||
emit publishedModels(modelsPublished, modelsSkipped, msgs, success, directWrite);
|
emit publishedModels(modelsPublished, modelsSkipped, msgs, sendingSuccessful, directWrite);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ namespace BlackCore
|
|||||||
void publishedModels(const BlackMisc::Simulation::CAircraftModelList &modelsPublished,
|
void publishedModels(const BlackMisc::Simulation::CAircraftModelList &modelsPublished,
|
||||||
const BlackMisc::Simulation::CAircraftModelList &modelsSkipped,
|
const BlackMisc::Simulation::CAircraftModelList &modelsSkipped,
|
||||||
const BlackMisc::CStatusMessageList &messages,
|
const BlackMisc::CStatusMessageList &messages,
|
||||||
bool success, bool directWrite);
|
bool sendingSuccessful, bool directWrite);
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
//! Post response
|
//! Post response
|
||||||
|
|||||||
@@ -284,10 +284,10 @@ namespace BlackGui
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void CDbStashComponent::ps_publishedModelsResponse(const CAircraftModelList &publishedModels, const CAircraftModelList &skippedModels, const CStatusMessageList &msgs, bool success, bool directWrite)
|
void CDbStashComponent::ps_publishedModelsResponse(const CAircraftModelList &publishedModels, const CAircraftModelList &skippedModels, const CStatusMessageList &msgs, bool sendingSuccesful, bool directWrite)
|
||||||
{
|
{
|
||||||
ui->tvp_StashAircraftModels->hideLoadIndicator();
|
ui->tvp_StashAircraftModels->hideLoadIndicator();
|
||||||
if (!publishedModels.isEmpty() && success)
|
if (!publishedModels.isEmpty() && sendingSuccesful)
|
||||||
{
|
{
|
||||||
emit this->modelsSuccessfullyPublished(publishedModels, directWrite);
|
emit this->modelsSuccessfullyPublished(publishedModels, directWrite);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -154,7 +154,7 @@ namespace BlackGui
|
|||||||
//! Publish response received
|
//! Publish response received
|
||||||
void ps_publishedModelsResponse(const BlackMisc::Simulation::CAircraftModelList &publishedModels,
|
void ps_publishedModelsResponse(const BlackMisc::Simulation::CAircraftModelList &publishedModels,
|
||||||
const BlackMisc::Simulation::CAircraftModelList &skippedModels,
|
const BlackMisc::Simulation::CAircraftModelList &skippedModels,
|
||||||
const BlackMisc::CStatusMessageList &msgs, bool success, bool directWrite);
|
const BlackMisc::CStatusMessageList &msgs, bool sendingSuccesful, bool directWrite);
|
||||||
|
|
||||||
//! Copy over values
|
//! Copy over values
|
||||||
void ps_copyOverPartsToSelected();
|
void ps_copyOverPartsToSelected();
|
||||||
|
|||||||
Reference in New Issue
Block a user