diff --git a/src/apps/debugger/model/TeamInfo.cpp b/src/apps/debugger/model/TeamInfo.cpp index bc520f27e3..c863178ea3 100644 --- a/src/apps/debugger/model/TeamInfo.cpp +++ b/src/apps/debugger/model/TeamInfo.cpp @@ -34,3 +34,11 @@ TeamInfo::SetTo(team_id team, const team_info& info) fTeam = team; fArguments.SetTo(info.args); } + + +void +TeamInfo::SetTo(team_id team, const BString& arguments) +{ + fTeam = team; + fArguments.SetTo(arguments); +} diff --git a/src/apps/debugger/model/TeamInfo.h b/src/apps/debugger/model/TeamInfo.h index c5cf78d184..ef2241ac8a 100644 --- a/src/apps/debugger/model/TeamInfo.h +++ b/src/apps/debugger/model/TeamInfo.h @@ -19,6 +19,7 @@ public: const team_info& info); void SetTo(team_id team, const team_info& info); + void SetTo(team_id team, const BString& arguments); team_id TeamID() const { return fTeam; }