MCPcopy Create free account
hub / github.com/RGAA-Software/GoDesk / GetItemByStreamId

Method GetItemByStreamId

src/render_panel/devices/app_stream_list.cpp:721–731  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

719 }
720
721 QWidget* AppStreamList::GetItemByStreamId(const std::string& stream_id) {
722 int count = stream_list_->count();
723 for (int i = 0; i < count; i++) {
724 auto item = stream_list_->item(i);
725 auto widget = stream_list_->itemWidget(item);
726 if (widget->objectName().toStdString() == stream_id) {
727 return widget;
728 }
729 }
730 return nullptr;
731 }
732
733 void AppStreamList::LoadStreamItems() {
734 context_->PostUITask([=, this]() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected