Tracker: menu parameter is ambiguous, rename to parent instead
Change-Id: I9a8811ff8c142efcdfbebae0c2b6e438290eafcd Reviewed-on: https://review.haiku-os.org/c/haiku/+/9061 Tested-by: Commit checker robot <[email protected]> Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
committed by
waddlesplash
parent
2e3af8f296
commit
cb4a168e37
@@ -2709,7 +2709,7 @@ void
|
||||
BContainerWindow::EachAddOn(void (*eachAddOn)(const Model*, const char*,
|
||||
uint32 shortcut, uint32 modifiers, bool primary, void* context,
|
||||
BContainerWindow* window, BMenu* menu),
|
||||
void* passThru, BStringList& mimeTypes, BMenu* menu)
|
||||
void* passThru, BStringList& mimeTypes, BMenu* parent)
|
||||
{
|
||||
AutoLock<LockingList<AddOnShortcut, true> > lock(fAddOnsList);
|
||||
if (!lock.IsLocked())
|
||||
@@ -2755,7 +2755,7 @@ BContainerWindow::EachAddOn(void (*eachAddOn)(const Model*, const char*,
|
||||
}
|
||||
}
|
||||
((eachAddOn)(item->model, item->model->Name(), item->key,
|
||||
item->modifiers, primary, passThru, this, menu));
|
||||
item->modifiers, primary, passThru, this, parent));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user