[vlc-commits] Qt: add playing inputs to Recents

Jean-Baptiste Kempf git at videolan.org
Mon Apr 13 00:18:55 CEST 2015


vlc/vlc-2.2 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Apr 12 23:26:51 2015 +0200| [779863473446ae6e6c3bd4f9fb8764c6274bca94] | committer: Jean-Baptiste Kempf

Qt: add playing inputs to Recents

Close #14034

(cherry picked from commit f34029f16dcbddaf5fc76689cc39badc0c7e5c98)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 modules/gui/qt4/input_manager.cpp |    1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/gui/qt4/input_manager.cpp b/modules/gui/qt4/input_manager.cpp
index b136742..8283fdc 100644
--- a/modules/gui/qt4/input_manager.cpp
+++ b/modules/gui/qt4/input_manager.cpp
@@ -145,6 +145,7 @@ void InputManager::setInput( input_thread_t *_p_input )
         // Save the latest URI to avoid asking to restore the
         // position on the same input file.
         lastURI = qfu( uri );
+        RecentsMRL::getInstance( p_intf )->addRecent( lastURI );
         free( uri );
     }
     else



More information about the vlc-commits mailing list