From 48b2cb377123257347d43438525b04504ce04b68 Mon Sep 17 00:00:00 2001 From: Dario Casalinuovo Date: Sat, 29 Aug 2015 13:17:46 +0200 Subject: [PATCH] BMediaRoster: Pass unhandled messages to the base class * While it shouldn't be a big problem, the bebook states that it's very important to do so. --- src/kits/media/MediaRoster.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/kits/media/MediaRoster.cpp b/src/kits/media/MediaRoster.cpp index 4268720846..22552bf20d 100644 --- a/src/kits/media/MediaRoster.cpp +++ b/src/kits/media/MediaRoster.cpp @@ -3460,9 +3460,13 @@ BMediaRoster::MessageReceived(BMessage* message) node->DeleteHook(node); // we don't call Release(), see above! return; } + + default: + printf("BMediaRoster::MessageReceived: unknown message!\n"); + message->PrintToStream(); + BLooper::MessageReceived(message); + break; } - printf("BMediaRoster::MessageReceived: unknown message!\n"); - message->PrintToStream(); }