Commit 77986347 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: add playing inputs to Recents

Close #14034

(cherry picked from commit f34029f16dcbddaf5fc76689cc39badc0c7e5c98)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent ef2dbefc
...@@ -145,6 +145,7 @@ void InputManager::setInput( input_thread_t *_p_input ) ...@@ -145,6 +145,7 @@ void InputManager::setInput( input_thread_t *_p_input )
// Save the latest URI to avoid asking to restore the // Save the latest URI to avoid asking to restore the
// position on the same input file. // position on the same input file.
lastURI = qfu( uri ); lastURI = qfu( uri );
RecentsMRL::getInstance( p_intf )->addRecent( lastURI );
free( uri ); free( uri );
} }
else else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment