Commit 201180f0 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: do not pause playback when resuming

It just shows a dialog, but does not block the playback.

Close #11708 #11705

(cherry picked from commit 23f717bcfdbe72866424b48136134c505b901219)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 1971e071
......@@ -136,16 +136,12 @@ void InputManager::setInput( input_thread_t *_p_input )
!var_GetFloat( p_input, "start-time" ) &&
!var_GetFloat( p_input, "stop-time" ) )
{
playlist_Pause( THEPL );
if( QMessageBox::question( NULL,
_("Continue playback?"),
_("Do you want to restart the playback where left off?"),
QMessageBox::Yes | QMessageBox::No, QMessageBox::Yes )
== QMessageBox::Yes )
var_SetTime( p_input, "time", (int64_t)i_time * 1000 );
playlist_Play( THEPL );
}
}
}
......
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