Commit 5f8ed84c authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Qt4: fix types conversion in extended panel

parent fb1eda2e
......@@ -455,7 +455,7 @@ void ExtVideo::initComboBoxItems( QObject *widget )
qtu( option ), &values, &texts );
for( ssize_t i = 0; i < count; i++ )
{
combobox->addItem( qtr( texts[i] ), values[i] );
combobox->addItem( qtr( texts[i] ), qlonglong(values[i]) );
free( texts[i] );
}
free( texts );
......@@ -469,7 +469,7 @@ void ExtVideo::initComboBoxItems( QObject *widget )
qtu( option ), &values, &texts );
for( ssize_t i = 0; i < count; i++ )
{
combobox->addItem( qtr( texts[i] ), values[i] );
combobox->addItem( qtr( texts[i] ), qfu(values[i]) );
free( texts[i] );
free( values[i] );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment