Tracker: Fix argument order

Fix different order of arguments between definition and declaration
of TTracker::SelectChildInParentSoon() and
TTracker::SelectChildInParent().
Pointed out by cppcheck.

Change-Id: Ie78089c80d77f8f687fb9e63883f0ce7b2e2785c
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8379
Haiku-Format: Haiku-format Bot <no-reply+haikuformatbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
This commit is contained in:
Murai Takashi 2024-09-29 16:20:46 +09:00 committed by waddlesplash
parent 8f0ecca94b
commit 86c015295d

View File

@ -102,8 +102,8 @@ public:
const node_ref* parent);
// closes parent, waits for child to open first
void SelectChildInParentSoon(const entry_ref* child,
const node_ref* parent);
void SelectChildInParentSoon(const entry_ref* parent,
const node_ref* child);
// waits till child shows up in parent and selects it
void SelectPoseAtLocationSoon(node_ref parent, BPoint location);
@ -174,8 +174,8 @@ private:
const node_ref* parent);
bool LaunchAndCloseParentIfOK(const entry_ref* launchThis,
const node_ref* closeThis, const BMessage* messageToBundle);
bool SelectChildInParent(const entry_ref* child,
const node_ref* parent);
bool SelectChildInParent(const entry_ref* parent,
const node_ref* child);
void SelectPoseAtLocationInParent(node_ref parent, BPoint location);
bool CloseParentWindowCommon(BContainerWindow*);