mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-11-14 03:03:47 +01:00
configure_gamelist: Use explicit QVariant constructor
This commit is contained in:
1 parent
d53b3a13b3
commit
0ddf082be2
1 file changed
+4
-2
@@ -33,8 +33,10 @@ ConfigureGameList::ConfigureGameList(QWidget* parent)
|
||||
};
|
||||
|
||||
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_2_text_combobox->addItem(QString::fromStdString(row_text_names[i]), i);
|
||||
ui->row_1_text_combobox->addItem(QString::fromStdString(row_text_names[i]),
|
||||
QVariant::fromValue(i));
|
||||
ui->row_2_text_combobox->addItem(QString::fromStdString(row_text_names[i]),
|
||||
QVariant::fromValue(i));
|
||||
}
|
||||
|
||||
this->setConfiguration();
|
||||
|
||||
Reference in new issue
Block a user