[vlc-commits] Qt4: fix types conversion in extended panel
Rémi Denis-Courmont
git at videolan.org
Wed Aug 15 09:01:14 CEST 2012
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Aug 15 10:00:41 2012 +0300| [5f8ed84c4ea50588732c74a9f0267095cf0ecede] | committer: Rémi Denis-Courmont
Qt4: fix types conversion in extended panel
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5f8ed84c4ea50588732c74a9f0267095cf0ecede
---
modules/gui/qt4/components/extended_panels.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/gui/qt4/components/extended_panels.cpp b/modules/gui/qt4/components/extended_panels.cpp
index 9f9e7eb..3127a3d 100644
--- a/modules/gui/qt4/components/extended_panels.cpp
+++ b/modules/gui/qt4/components/extended_panels.cpp
@@ -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] );
}
More information about the vlc-commits
mailing list