replace currentData with itemData on QComboBox::currentIndexChanged slots
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
b593ff09e9
commit
0cafac84ac
4 changed files with 12 additions and 12 deletions
|
@ -273,7 +273,7 @@ void FlamePage::suggestCurrent()
|
|||
void FlamePage::onVersionSelectionChanged(int index)
|
||||
{
|
||||
bool is_blocked = false;
|
||||
ui->versionSelectionBox->currentData().toInt(&is_blocked);
|
||||
ui->versionSelectionBox->itemData(index).toInt(&is_blocked);
|
||||
|
||||
if (index == -1 || is_blocked) {
|
||||
m_selected_version_index = -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue