*neutrino record: moved some code lines for stop record calls from neutrino.cpp into record.cpp

-use only the exec() call with action key "Stop_record" from record.cpp
-small popup message with short timeout added. This will be show if user has pressed stop button, but no recording is running

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1808 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
thilo
2011-11-01 23:42:23 +00:00
parent 8eb07a092b
commit c7d7c18a52
6 changed files with 12 additions and 3 deletions

View File

@@ -2344,10 +2344,8 @@ void CNeutrinoApp::RealRun(CMenuWidget &mainMenu)
CRecordManager::getInstance()->exec(NULL, "Record");
}
else if( msg == CRCInput::RC_stop ) {
if(CRecordManager::getInstance()->RecordingStatus())
CRecordManager::getInstance()->ShowMenu();
CRecordManager::getInstance()->exec(NULL, "Stop_record");
}
else if( msg == CRCInput::RC_red ) {
StopSubtitles();
usermenu.showUserMenu(SNeutrinoSettings::BUTTON_RED);