From e67cc7f9bfa7487c5268fcde9ea8222ddaa3b54d Mon Sep 17 00:00:00 2001 From: vanhofen Date: Mon, 25 Aug 2014 23:44:49 +0200 Subject: [PATCH] movieplayer: fix 'ask before stop temporary timeshift' Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/06bda609cf09112d9f74651dc6022f4ca007081e Author: vanhofen Date: 2014-08-25 (Mon, 25 Aug 2014) Origin message was: ------------------ - movieplayer: fix 'ask before stop temporary timeshift' --- src/gui/movieplayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/movieplayer.cpp b/src/gui/movieplayer.cpp index c516b7974..0af132b54 100644 --- a/src/gui/movieplayer.cpp +++ b/src/gui/movieplayer.cpp @@ -650,7 +650,7 @@ void CMoviePlayerGui::PlayFile(void) } else if (msg == (neutrino_msg_t) g_settings.mpkey_stop) { bool stop_it = true; 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) playstate = CMoviePlayerGui::STOPPED; if ((duration - position) > 600000)