mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 02:11:04 +02:00
check for active downloads before shutting down; indicate dl on vfd
Conflicts:
data/locale/deutsch.locale
data/locale/english.locale
src/driver/lcdd.h
src/driver/simple_display.cpp
src/neutrino.cpp
src/system/locals.h
src/system/locals_intern.h
Origin commit data
------------------
Commit: a3adf2798a
Author: martii <m4rtii@gmx.de>
Date: 2013-12-15 (Sun, 15 Dec 2013)
This commit is contained in:
@@ -99,6 +99,8 @@
|
||||
#endif
|
||||
#include "gui/themes.h"
|
||||
|
||||
#include <system/ytcache.h>
|
||||
|
||||
#include <audio.h>
|
||||
#include <ca_cs.h>
|
||||
#include <cs_api.h>
|
||||
@@ -3146,9 +3148,9 @@ void CNeutrinoApp::ExitRun(const bool /*write_si*/, int retcode)
|
||||
bool do_shutdown = true;
|
||||
|
||||
CRecordManager::getInstance()->StopAutoRecord();
|
||||
if(CRecordManager::getInstance()->RecordingStatus()) {
|
||||
if(CRecordManager::getInstance()->RecordingStatus() || cYTCache::getInstance()->isActive()) {
|
||||
do_shutdown =
|
||||
(ShowMsg(LOCALE_MESSAGEBOX_INFO, LOCALE_SHUTDOWN_RECODING_QUERY, CMessageBox::mbrNo,
|
||||
(ShowMsg(LOCALE_MESSAGEBOX_INFO, LOCALE_SHUTDOWN_RECORDING_QUERY, CMessageBox::mbrNo,
|
||||
CMessageBox::mbYes | CMessageBox::mbNo, NULL, 450, 30, true) == CMessageBox::mbrYes);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user