mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 17:01:08 +02:00
movieplayer: fix 'ask before stop temporary timeshift'
Origin commit data
------------------
Commit: 06bda609cf
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-08-25 (Mon, 25 Aug 2014)
Origin message was:
------------------
- movieplayer: fix 'ask before stop temporary timeshift'
This commit is contained in:
@@ -650,7 +650,7 @@ void CMoviePlayerGui::PlayFile(void)
|
|||||||
} else if (msg == (neutrino_msg_t) g_settings.mpkey_stop) {
|
} else if (msg == (neutrino_msg_t) g_settings.mpkey_stop) {
|
||||||
bool stop_it = true;
|
bool stop_it = true;
|
||||||
if ((timeshift) && (g_settings.temp_timeshift))
|
if ((timeshift) && (g_settings.temp_timeshift))
|
||||||
stop_it = (ShowMsg(LOCALE_RECORDINGMENU_MULTIMENU_TIMESHIFT, LOCALE_RECORDINGMENU_MULTIMENU_TIMESHIFT_STOP, CMessageBox::mbrYes, CMessageBox::mbYes | CMessageBox::mbNo, NULL, 450, 30, false) != CMessageBox::mbrYes);
|
stop_it = (ShowMsg(LOCALE_RECORDINGMENU_MULTIMENU_TIMESHIFT, LOCALE_RECORDINGMENU_MULTIMENU_TIMESHIFT_STOP, CMessageBox::mbrYes, CMessageBox::mbYes | CMessageBox::mbNo, NULL, 450, 30, false) == CMessageBox::mbrYes);
|
||||||
if (stop_it)
|
if (stop_it)
|
||||||
playstate = CMoviePlayerGui::STOPPED;
|
playstate = CMoviePlayerGui::STOPPED;
|
||||||
if ((duration - position) > 600000)
|
if ((duration - position) > 600000)
|
||||||
|
Reference in New Issue
Block a user