fix Warning
This commit is contained in:
1 parent
593c221d23
commit
8345470273
316 files changed
+1246
-929
No files matched your search
+4
-3
@@ -8,6 +8,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"
|
||||
@@ -1914,7 +1915,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);
|
||||
// For PreFat
|
||||
// m_ui->geometrieLineBtn->hide();
|
||||
@@ -2907,7 +2908,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))
|
||||
{
|
||||
// Vulcano ist available for point geometry only:
|
||||
const bool bIsVulcano = chargeTypeIdIsVulcano(chargeType.id());
|
||||
@@ -2953,7 +2954,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