[vlc-commits] Qt: use the open helper in the Open Dialog
Jean-Baptiste Kempf
git at videolan.org
Sun May 18 16:58:35 CEST 2014
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun May 18 16:54:45 2014 +0200| [c5058e117ef916094cc7e64d115e8493ab8d8dd7] | committer: Jean-Baptiste Kempf
Qt: use the open helper in the Open Dialog
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c5058e117ef916094cc7e64d115e8493ab8d8dd7
---
modules/gui/qt4/dialogs/open.cpp | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/modules/gui/qt4/dialogs/open.cpp b/modules/gui/qt4/dialogs/open.cpp
index a10dfac..0e53735 100644
--- a/modules/gui/qt4/dialogs/open.cpp
+++ b/modules/gui/qt4/dialogs/open.cpp
@@ -398,14 +398,7 @@ void OpenDialog::enqueue( bool b_enqueue )
}
/* Switch between enqueuing and starting the item */
- /* FIXME: playlist_AddInput() can fail */
- playlist_AddInput( THEPL, p_input_item,
- PLAYLIST_APPEND | ( b_start ? PLAYLIST_GO : PLAYLIST_PREPARSE ),
- PLAYLIST_END, b_pl ? true : false, pl_Unlocked );
- vlc_gc_decref( p_input_item );
-
- /* Do not add the current MRL if playlist_AddInput fail */
- RecentsMRL::getInstance( p_intf )->addRecent( itemsMRL[i] );
+ Open::openInput( p_intf, p_input_item, itemsMRL[i], b_start, b_pl );
}
}
More information about the vlc-commits
mailing list