Skip to content

Commit

Permalink
remove unused function
Browse files Browse the repository at this point in the history
Signed-off-by: Jenn Nguyen <[email protected]>
  • Loading branch information
jennuine committed Aug 29, 2022
1 parent c52e140 commit c73c720
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
7 changes: 0 additions & 7 deletions src/gui/GuiRunner.cc
Original file line number Diff line number Diff line change
Expand Up @@ -266,13 +266,6 @@ void GuiRunner::RequestState()
this->dataPtr->node.Request(this->dataPtr->stateTopic + "_async", req);
}

/////////////////////////////////////////////////
void GuiRunner::OnPluginAdded(const QString &)
{
// This function used to call Update on the plugin, but that's no longer
// necessary. The function is left here for ABI compatibility.
}

/////////////////////////////////////////////////
void GuiRunner::OnStateAsyncService(const msgs::SerializedStepMap &_res)
{
Expand Down
5 changes: 0 additions & 5 deletions src/gui/GuiRunner.hh
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,6 @@ class GZ_SIM_GUI_VISIBLE GuiRunner : public QObject
// Documentation inherited
protected: bool eventFilter(QObject *_obj, QEvent *_event) override;

/// \brief Callback when a plugin has been added.
/// This function has no effect and is left here for ABI compatibility.
/// \param[in] _objectName Plugin's object name.
public slots: void OnPluginAdded(const QString &_objectName);

/// \brief Make a new state request to the server.
public slots: void RequestState();

Expand Down

0 comments on commit c73c720

Please sign in to comment.