Skip to content

Commit

Permalink
Remove unnecessary variable
Browse files Browse the repository at this point in the history
Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
  • Loading branch information
azeey committed Jan 29, 2025
1 parent 522e354 commit 80ad45e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/plugins/image_display/ImageDisplay.cc
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,7 @@ void ImageDisplay::LoadConfig(const tinyxml2::XMLElement *_pluginElem)

if (!topic.empty())
{
auto qTopic = QString::fromStdString(topic);
this->SetTopicList({qTopic});
this->SetTopicList({QString::fromStdString(topic)});
}
else
this->OnRefresh();
Expand Down

0 comments on commit 80ad45e

Please sign in to comment.