Adds immediate migration results
This commit is contained in:
2395 files changed
+357322
-2524
No files matched your search
+1
-1
@@ -35,7 +35,7 @@ NGL_TARGET_LINK_LIBRARIES(AesInfoGuiPlugin
|
||||
AesMineAreaGuiPluginInterface
|
||||
AesDangerAreaGuiPluginInterface
|
||||
SituationMapGuiPluginInterface
|
||||
Qt5::Widgets
|
||||
Qt6::Widgets
|
||||
LtsWidgets
|
||||
LtsSession
|
||||
LtsSessionData
|
||||
|
||||
+4
-3
@@ -2,6 +2,7 @@
|
||||
|
||||
|
||||
#include "aes_danger_area_aes_item_info.h"
|
||||
#include <utility>
|
||||
#include "ui_aes_danger_area_aes_item_info.h"
|
||||
#include <Plugins/AreaEffectSimulation/aes_data_plugin_interface.h>
|
||||
#include <BCContamination/aes_bccontamination_gui_plugin_interface.h>
|
||||
@@ -31,7 +32,7 @@ DangerAreaAesItemInfo::DangerAreaAesItemInfo(QWidget *parent)
|
||||
|
||||
DangerAreaAesItemInfo::~DangerAreaAesItemInfo()
|
||||
{
|
||||
for (const auto &item : qAsConst(m_aesItems))
|
||||
for (const auto &item : std::as_const(m_aesItems))
|
||||
delete item.item;
|
||||
delete m_ui;
|
||||
}
|
||||
@@ -134,11 +135,11 @@ void DangerAreaAesItemInfo::insertAesItem(int aesItemId)
|
||||
|
||||
void DangerAreaAesItemInfo::setText()
|
||||
{
|
||||
for (const DangerArea &dangerArea : qAsConst(m_dangerAreas))
|
||||
for (const DangerArea &dangerArea : std::as_const(m_dangerAreas))
|
||||
aesItemInfo(&dangerArea);
|
||||
|
||||
|
||||
for(const AesStruct &aesStruct : qAsConst(m_aesItems))
|
||||
for(const AesStruct &aesStruct : std::as_const(m_aesItems))
|
||||
{
|
||||
if(aesStruct.item->effectStateId() == AreaEffectSimulation::AesEffectState::EsActivated)
|
||||
aesItemInfo(aesStruct.item);
|
||||
|
||||
Reference in new issue
Block a user