configure_gamelist: Use explicit QVariant constructor
This commit is contained in:
parent
91cfe70301
commit
1abfd4166e
@ -33,8 +33,10 @@ ConfigureGameList::ConfigureGameList(QWidget* parent)
|
|||||||
};
|
};
|
||||||
|
|
||||||
for (size_t i = 0; i < row_text_names.size(); ++i) {
|
for (size_t i = 0; i < row_text_names.size(); ++i) {
|
||||||
ui->row_1_text_combobox->addItem(QString::fromStdString(row_text_names[i]), i);
|
ui->row_1_text_combobox->addItem(QString::fromStdString(row_text_names[i]),
|
||||||
ui->row_2_text_combobox->addItem(QString::fromStdString(row_text_names[i]), i);
|
QVariant::fromValue(i));
|
||||||
|
ui->row_2_text_combobox->addItem(QString::fromStdString(row_text_names[i]),
|
||||||
|
QVariant::fromValue(i));
|
||||||
}
|
}
|
||||||
|
|
||||||
this->setConfiguration();
|
this->setConfiguration();
|
||||||
|
Loading…
Reference in New Issue
Block a user