mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +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
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