MCPcopy Create free account
hub / github.com/Artikash/Textractor / ThreadRemoved

Function ThreadRemoved

GUI/mainwindow.cpp:588–596  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

586 }
587
588 void ThreadRemoved(TextThread& thread)
589 {
590 QMetaObject::invokeMethod(This, [ttString = TextThreadString(thread)]
591 {
592 int threadIndex = ui.ttCombo->findText(ttString, Qt::MatchStartsWith);
593 if (threadIndex == ui.ttCombo->currentIndex()) ViewThread(0);
594 ui.ttCombo->removeItem(threadIndex);
595 }, Qt::BlockingQueuedConnection);
596 }
597
598 bool SentenceReceived(TextThread& thread, std::wstring& sentence)
599 {

Callers

nothing calls this directly

Calls 2

TextThreadStringFunction · 0.85
ViewThreadFunction · 0.85

Tested by

no test coverage detected