mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
-fix warnings
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@303 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -49,12 +49,12 @@ int CRCLock::exec(CMenuTarget* parent, const std::string &actionKey)
|
||||
parent->hide();
|
||||
|
||||
bool no_input = (actionKey == NO_USER_INPUT);
|
||||
if (ShowLocalizedMessage(LOCALE_RCLOCK_TITLE, LOCALE_RCLOCK_LOCKMSG,
|
||||
CMessageBox::mbrYes, CMessageBox::mbYes | CMessageBox::mbCancel,
|
||||
if (ShowLocalizedMessage(LOCALE_RCLOCK_TITLE, LOCALE_RCLOCK_LOCKMSG,
|
||||
CMessageBox::mbrYes, CMessageBox::mbYes | CMessageBox::mbCancel,
|
||||
NEUTRINO_ICON_INFO,450,no_input ? 5 : -1,no_input) == CMessageBox::mbrCancel)
|
||||
return menu_return::RETURN_EXIT_ALL;
|
||||
|
||||
// -- Lockup Box
|
||||
// -- Lockup Box
|
||||
lockBox();
|
||||
|
||||
ShowLocalizedMessage(LOCALE_RCLOCK_TITLE, LOCALE_RCLOCK_UNLOCKMSG, CMessageBox::mbrBack, CMessageBox::mbBack, NEUTRINO_ICON_INFO,450, no_input ? 5 : -1);
|
||||
@@ -66,7 +66,7 @@ void CRCLock::lockBox()
|
||||
neutrino_msg_t msg;
|
||||
neutrino_msg_data_t data;
|
||||
|
||||
unsigned long long timeoutEnd;
|
||||
uint64_t timeoutEnd;
|
||||
|
||||
// -- Loop until release key pressed
|
||||
// -- Key sequence: <RED> <DBOX> within 5 secs
|
||||
@@ -92,7 +92,7 @@ void CRCLock::lockBox()
|
||||
// -- so be it...
|
||||
|
||||
if (msg > CRCInput::RC_MaxRC) {
|
||||
CNeutrinoApp::getInstance()->handleMsg(msg, data);
|
||||
CNeutrinoApp::getInstance()->handleMsg(msg, data);
|
||||
} else {
|
||||
CVFD::getInstance()->showRCLock();
|
||||
// Since showRCLock blocks 2secs for each key we eat all
|
||||
|
Reference in New Issue
Block a user