mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +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;
|
||||
CStatusMessageList msgs;
|
||||
bool directWrite;
|
||||
const bool success = CDatastoreUtility::parseSwiftPublishResponse(dataFileData, modelsPublished, modelsSkipped, msgs, directWrite);
|
||||
emit publishedModels(modelsPublished, modelsSkipped, msgs, success, directWrite);
|
||||
const bool sendingSuccessful = CDatastoreUtility::parseSwiftPublishResponse(dataFileData, modelsPublished, modelsSkipped, msgs, directWrite);
|
||||
emit publishedModels(modelsPublished, modelsSkipped, msgs, sendingSuccessful, directWrite);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -50,7 +50,7 @@ namespace BlackCore
|
||||
void publishedModels(const BlackMisc::Simulation::CAircraftModelList &modelsPublished,
|
||||
const BlackMisc::Simulation::CAircraftModelList &modelsSkipped,
|
||||
const BlackMisc::CStatusMessageList &messages,
|
||||
bool success, bool directWrite);
|
||||
bool sendingSuccessful, bool directWrite);
|
||||
|
||||
private slots:
|
||||
//! 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();
|
||||
if (!publishedModels.isEmpty() && success)
|
||||
if (!publishedModels.isEmpty() && sendingSuccesful)
|
||||
{
|
||||
emit this->modelsSuccessfullyPublished(publishedModels, directWrite);
|
||||
}
|
||||
|
||||
@@ -154,7 +154,7 @@ namespace BlackGui
|
||||
//! Publish response received
|
||||
void ps_publishedModelsResponse(const BlackMisc::Simulation::CAircraftModelList &publishedModels,
|
||||
const BlackMisc::Simulation::CAircraftModelList &skippedModels,
|
||||
const BlackMisc::CStatusMessageList &msgs, bool success, bool directWrite);
|
||||
const BlackMisc::CStatusMessageList &msgs, bool sendingSuccesful, bool directWrite);
|
||||
|
||||
//! Copy over values
|
||||
void ps_copyOverPartsToSelected();
|
||||
|
||||
Reference in New Issue
Block a user