From c254f99c3663cc12a98d2b289888e5a87055d2e2 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Mon, 24 Nov 2014 17:36:31 +0100 Subject: [PATCH] BApplication: remove AboutRequested implementation The Be Book says this is a hook method, so the default behavior should be to do nothing (didn't test BeOS, my install is currently broken). Showing an alert with just the application thread name is less than helpful anyway, and this was causing crashes. Fixes #5554. --- src/kits/app/Application.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/kits/app/Application.cpp b/src/kits/app/Application.cpp index a0a8a1267b..9373a07f1e 100644 --- a/src/kits/app/Application.cpp +++ b/src/kits/app/Application.cpp @@ -730,12 +730,7 @@ BApplication::RefsReceived(BMessage* message) void BApplication::AboutRequested() { - thread_info info; - if (get_thread_info(Thread(), &info) == B_OK) { - BAlert* alert = new BAlert("_about_", info.name, "OK"); - alert->SetFlags(alert->Flags() | B_CLOSE_ON_ESCAPE); - alert->Go(NULL); - } + // supposed to be implemented by subclasses }