mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-26 03:52:01 +02:00
Try to fix compilation
This commit is contained in:
parent
44e195c625
commit
da8942ccfb
@ -736,7 +736,7 @@ void MapSettings::on_victoryComboBox_currentIndexChanged(int index)
|
||||
victoryTypeWidget = new QComboBox;
|
||||
ui->victoryParamsLayout->addWidget(victoryTypeWidget);
|
||||
for(int i = 0; i < VLC->creh->objects.size(); ++i)
|
||||
victoryTypeWidget->addItem(QString::fromStdString(VLC->creh->objects[i]->Entity::getNameTranslated()), QVariant::fromValue(i));
|
||||
victoryTypeWidget->addItem(QString::fromStdString(VLC->creh->objects[i]->getNameTranslated()), QVariant::fromValue(i));
|
||||
|
||||
victoryValueWidget = new QLineEdit;
|
||||
ui->victoryParamsLayout->addWidget(victoryValueWidget);
|
||||
|
Loading…
x
Reference in New Issue
Block a user