[vlc-commits] Qt: Use append iso push_*

Jean-Baptiste Kempf git at videolan.org
Tue Aug 16 17:32:22 CEST 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Aug 16 17:11:37 2011 +0200| [de2b1cff9e10b22f7566f5d4ab5ef6275d24a77f] | committer: Jean-Baptiste Kempf

Qt: Use append iso push_*

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=de2b1cff9e10b22f7566f5d4ab5ef6275d24a77f
---

 modules/gui/qt4/components/preferences_widgets.cpp |    2 +-
 modules/gui/qt4/dialogs/plugins.cpp                |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/qt4/components/preferences_widgets.cpp b/modules/gui/qt4/components/preferences_widgets.cpp
index 5e9d5e1..efe8593 100644
--- a/modules/gui/qt4/components/preferences_widgets.cpp
+++ b/modules/gui/qt4/components/preferences_widgets.cpp
@@ -706,7 +706,7 @@ ModuleListConfigControl::~ModuleListConfigControl()
        cbl->checkBox = cb; \
 \
        cbl->psz_module = strdup( module_get_object( p_parser ) ); \
-       modules.push_back( cbl ); \
+       modules.append( cbl ); \
 \
        if( p_item->value.psz && strstr( p_item->value.psz, cbl->psz_module ) ) \
             cbl->checkBox->setChecked( true ); \
diff --git a/modules/gui/qt4/dialogs/plugins.cpp b/modules/gui/qt4/dialogs/plugins.cpp
index 906fe3c..dd265b6 100644
--- a/modules/gui/qt4/dialogs/plugins.cpp
+++ b/modules/gui/qt4/dialogs/plugins.cpp
@@ -338,7 +338,7 @@ void ExtensionListModel::updateList()
     FOREACH_ARRAY( p_ext, p_mgr->extensions )
     {
         ext = new ExtensionCopy( p_ext );
-        extensions.push_back( ext );
+        extensions.append( ext );
     }
     FOREACH_END()
     vlc_mutex_unlock( &p_mgr->lock );



More information about the vlc-commits mailing list