Tracker: NavMenu and MountMenu should not set font themselves (inherit from BMenu instead)

Change-Id: Ie04908ebb1c05bd2abe19e8574bae0fa1cf47e1a
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5990
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
This commit is contained in:
xoblite 2023-01-12 10:23:13 +01:00 committed by waddlesplash
parent f65d24dfd9
commit 183b85ddf8
2 changed files with 0 additions and 5 deletions

View File

@ -166,7 +166,6 @@ AddMenuItemVisitor::Visit(BPartition* partition, int32 level)
MountMenu::MountMenu(const char* name)
: BMenu(name)
{
SetFont(be_plain_font);
}

View File

@ -279,8 +279,6 @@ BNavMenu::BNavMenu(const char* title, uint32 message, const BHandler* target,
InitIconPreloader();
SetFont(be_plain_font);
// add the parent window to the invocation message so that it
// can be closed if option modifier held down during invocation
BContainerWindow* originatingWindow =
@ -314,8 +312,6 @@ BNavMenu::BNavMenu(const char* title, uint32 message,
InitIconPreloader();
SetFont(be_plain_font);
// add the parent window to the invocation message so that it
// can be closed if option modifier held down during invocation
BContainerWindow* originatingWindow =