From 4a87ab984bbf37db9a474850c49bd5c6291c53c0 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Tue, 13 Aug 2002 22:38:24 +0000 Subject: [PATCH] Set the the application BHandler's name correctly. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@754 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/app/Application.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/kits/app/Application.cpp b/src/kits/app/Application.cpp index b90dd11e9d..84fbdb1fe2 100644 --- a/src/kits/app/Application.cpp +++ b/src/kits/app/Application.cpp @@ -717,7 +717,9 @@ void BApplication::InitData(const char* signature, status_t* error) be_app = this; be_app_messenger = BMessenger(NULL, this); } - // TODO: SetName() + // set the BHandler's name + if (fInitError == B_OK) + SetName(ref.name); // TODO: create_app_meta_mime() // Return the error or exit, if there was an error and no error variable // has been supplied.