Skip to content

Commit

Permalink
Remove unused function (gazebosim#1678)
Browse files Browse the repository at this point in the history
Signed-off-by: Jenn Nguyen <[email protected]>
  • Loading branch information
jennuine authored Aug 30, 2022
1 parent fc62666 commit 6184b54
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 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
6 changes: 0 additions & 6 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 All @@ -75,7 +70,6 @@ class GZ_SIM_GUI_VISIBLE GuiRunner : public QObject
private: Q_INVOKABLE void OnStateQt(const msgs::SerializedStepMap &_msg);

/// \brief Update the plugins.
/// \todo(anyone) Move to GuiRunner::Implementation when porting to v5
private: Q_INVOKABLE void UpdatePlugins();

/// \brief Load systems
Expand Down

0 comments on commit 6184b54

Please sign in to comment.