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 <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
Tested-by: Commit checker robot <[email protected]>
This commit is contained in:
Murai Takashi
2024-10-14 16:27:02 +00:00
committed by waddlesplash
parent 8f0ecca94b
commit 86c015295d
+4 -4
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*);