]> git.sesse.net Git - vlc/commitdiff
Qt: Use append iso push_*
authorJean-Baptiste Kempf <jb@videolan.org>
Tue, 16 Aug 2011 15:11:37 +0000 (17:11 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Tue, 16 Aug 2011 15:32:15 +0000 (17:32 +0200)
modules/gui/qt4/components/preferences_widgets.cpp
modules/gui/qt4/dialogs/plugins.cpp

index 5e9d5e1793d930b76b11957d0a284cbff452c31a..efe85931835d2b568c65b02352b90b3742c5ea1d 100644 (file)
@@ -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 ); \
index 906fe3c04ddad57476081344305f141821437180..dd265b60faacc9776bb48d44d58049d5b60e39d8 100644 (file)
@@ -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 );