replace currentData with itemData on QComboBox::currentIndexChanged slots

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
(cherry picked from commit 0cafac84ac)
This commit is contained in:
Trial97
2024-10-28 12:54:21 +02:00
committed by github-actions[bot]
parent 1e696328bb
commit c3cf5d31da
4 changed files with 12 additions and 12 deletions

View File

@ -375,7 +375,7 @@ void ModrinthPage::onVersionSelectionChanged(int index)
selectedVersion = "";
return;
}
selectedVersion = ui->versionSelectionBox->currentData().toString();
selectedVersion = ui->versionSelectionBox->itemData(index).toString();
suggestCurrent();
}