Adds immediate migration results
This commit is contained in:
2395 files changed
+357322
-2524
No files matched your search
+2
-2
@@ -25,7 +25,7 @@ NGL_TARGET_LINK_LIBRARIES(AesEffectClusterModel
|
||||
ngltools
|
||||
PUBLIC
|
||||
NGLLogger
|
||||
Qt5::Core
|
||||
Qt6::Core
|
||||
)
|
||||
|
||||
NGL_TARGET_INCLUDE_DIRECTORIES(AesEffectClusterModel
|
||||
@@ -96,7 +96,7 @@ NGL_TARGET_LINK_LIBRARIES(AesExplosionGuiPlugin
|
||||
PpmParticipantSelectionGui
|
||||
SituationMapGuiPluginInterface
|
||||
|
||||
Qt5::Widgets
|
||||
Qt6::Widgets
|
||||
LtsWidgets
|
||||
LtsDataView
|
||||
LtsUtilsGuiDds
|
||||
|
||||
+2
-1
@@ -3,6 +3,7 @@
|
||||
|
||||
|
||||
#include "aes_explosion_edit.h"
|
||||
#include <utility>
|
||||
#include "ui_aes_explosion_edit.h"
|
||||
#include <LtsCoordTrans/lts_coord_trans.h>
|
||||
|
||||
@@ -719,7 +720,7 @@ void ExplosionEdit::onPartyChanged()
|
||||
|
||||
QSignalBlocker sb(m_ui->cbChargeType);
|
||||
m_ui->cbChargeType->clear();
|
||||
for (const Charges &charge : qAsConst(m_chargeTypeMap))
|
||||
for (const Charges &charge : std::as_const(m_chargeTypeMap))
|
||||
{
|
||||
if (charge.available.contains(partyId) && charge.available[partyId] > 0)
|
||||
m_ui->cbChargeType->addItem(m_pdmDtc->trChargeTypeShortName(charge.chargeType.id(), true), charge.chargeType.id());
|
||||
|
||||
+4
-3
@@ -2,6 +2,7 @@
|
||||
|
||||
|
||||
#include "aes_explosions_edit.h"
|
||||
#include <utility>
|
||||
|
||||
#include "ui_aes_explosions_edit.h"
|
||||
|
||||
@@ -1850,7 +1851,7 @@ void ExplosionsEdit::enableUiElements(bool enable)
|
||||
|
||||
|
||||
const QList<QAbstractButton *> &geoButtons = m_geometrieButtonGroup->buttons();
|
||||
for (QAbstractButton *btn : qAsConst(geoButtons))
|
||||
for (QAbstractButton *btn : std::as_const(geoButtons))
|
||||
btn->setEnabled(enable);
|
||||
|
||||
|
||||
@@ -2597,7 +2598,7 @@ void ExplosionsEdit::fillCharges()
|
||||
QSignalBlocker locked(m_ui->cbChargeType);
|
||||
|
||||
m_ui->cbChargeType->clear();
|
||||
for (const ProjectDataManagement::ChargeType &chargeType : qAsConst(chargesForGearClass))
|
||||
for (const ProjectDataManagement::ChargeType &chargeType : std::as_const(chargesForGearClass))
|
||||
{
|
||||
|
||||
const bool bIsVulcano = chargeTypeIdIsVulcano(chargeType.id());
|
||||
@@ -2627,7 +2628,7 @@ void ExplosionsEdit::fillCharges()
|
||||
void ExplosionsEdit::fillGearClasses()
|
||||
{
|
||||
const auto &gearClasses = m_pdmDtc->gearTypes();
|
||||
for (auto type : qAsConst(gearClasses))
|
||||
for (auto type : std::as_const(gearClasses))
|
||||
{
|
||||
if (m_gearClassFilter.contains(type.gearClassId()) && m_pdmDtc->getAdlerWeaponSystemId(type.id()) <= 3)
|
||||
m_ui->cbGearClass->addItem(m_pdmDtc->trGearTypeName(type.id()), type.gearClassId().underlying());
|
||||
|
||||
+4
-3
@@ -2,6 +2,7 @@
|
||||
|
||||
|
||||
#include "aes_explosions_edit_adler_standalone.h"
|
||||
#include <utility>
|
||||
#include "aes_rocket_utility.h"
|
||||
#include "aes_effector.h"
|
||||
#include "ui_aes_explosions_edit_adler_standalone.h"
|
||||
@@ -1759,7 +1760,7 @@ void ExplosionsEditAdlerStandAlone::enableUiElements(bool enable)
|
||||
|
||||
|
||||
const QList<QAbstractButton *> &geoButtons = m_geometrieButtonGroup->buttons();
|
||||
for (QAbstractButton *btn : qAsConst(geoButtons))
|
||||
for (QAbstractButton *btn : std::as_const(geoButtons))
|
||||
btn->setEnabled(enable);
|
||||
|
||||
|
||||
@@ -2747,7 +2748,7 @@ void ExplosionsEditAdlerStandAlone::fillCharges()
|
||||
m_ui->cbChargeType->clear();
|
||||
m_ui->cbChargeType->addItem(emptyEntryComboBox, -1);
|
||||
|
||||
for (const ProjectDataManagement::ChargeType &chargeType : qAsConst(chargesForGearClass))
|
||||
for (const ProjectDataManagement::ChargeType &chargeType : std::as_const(chargesForGearClass))
|
||||
{
|
||||
|
||||
const bool bIsVulcano = chargeTypeIdIsVulcano(chargeType.id());
|
||||
@@ -2793,7 +2794,7 @@ void ExplosionsEditAdlerStandAlone::fillGearClasses()
|
||||
int index = 0;
|
||||
m_ui->cbGearClass->insertItem(index, emptyEntryComboBox, -1);
|
||||
|
||||
for (auto type : qAsConst(gearClasses))
|
||||
for (auto type : std::as_const(gearClasses))
|
||||
{
|
||||
if (m_gearClassFilter.contains(type.gearClassId()))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user