MCPcopy Create free account
hub / github.com/YACReader/yacreader / launchSearchComic

Method launchSearchComic

YACReaderLibrary/comic_vine/comic_vine_dialog.cpp:638–649  ·  view source on GitHub ↗

TODO: get the search configuration for exact match or not

Source from the content-addressed store, hash-verified

636
637// TODO: get the search configuration for exact match or not
638void ComicVineDialog::launchSearchComic()
639{
640 showLoading(tr("Looking for comic..."));
641
642 QString volumeInfo = searchSingleComicWidget->getVolumeInfo();
643 bool exactMatch = searchSingleComicWidget->getExactMatch();
644 // QString comicInfo = searchSingleComicWidget->getComicInfo();
645 // int comicNumber = searchSingleComicWidget->getComicNumber();
646
647 // if(comicInfo.isEmpty() && comicNumber == -1)
648 searchVolume({ volumeInfo, 1, exactMatch });
649}
650
651void ComicVineDialog::applyTheme(const Theme &theme)
652{

Callers

nothing calls this directly

Calls 3

showLoadingFunction · 0.85
getVolumeInfoMethod · 0.45
getExactMatchMethod · 0.45

Tested by

no test coverage detected