From 5b3cea3ff6a2473254947ea94f3580ad25b78f00 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Mon, 16 Sep 2013 14:38:06 +0400 Subject: [PATCH] gui/upnpbrowser.cpp: revert keys handling, pass not-handled to CNeutrinoApp --- src/gui/upnpbrowser.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/gui/upnpbrowser.cpp b/src/gui/upnpbrowser.cpp index 9196eadd8..a83460335 100644 --- a/src/gui/upnpbrowser.cpp +++ b/src/gui/upnpbrowser.cpp @@ -527,12 +527,16 @@ void CUpnpBrowserGui::selectDevice() loop=false; g_RCInput->postMsg(msg, data); } +#if 0 else if (msg == NeutrinoMessages::EVT_TIMER) { CNeutrinoApp::getInstance()->handleMsg(msg, data); } else if (msg > CRCInput::RC_MaxRC) +#endif + else { +printf("msg: %x\n", (int) msg); if (CNeutrinoApp::getInstance()->handleMsg(msg, data) & messages_return::cancel_all) loop = false; } @@ -834,11 +838,14 @@ bool CUpnpBrowserGui::selectItem(std::string id) loop = false; g_RCInput->postMsg(msg, data); } +#if 0 else if (msg == NeutrinoMessages::EVT_TIMER) { CNeutrinoApp::getInstance()->handleMsg(msg, data); } else if (msg > CRCInput::RC_MaxRC) +#endif + else { if (CNeutrinoApp::getInstance()->handleMsg(msg, data) & messages_return::cancel_all) loop = false;