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

Jean-Baptiste Kempf git at videolan.org
Sun Apr 12 23:27:55 CEST 2015


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

Qt: add playing inputs to Recents

Close #14034

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

 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 d9b0199..26baf3f 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