MCPcopy Create free account
hub / github.com/OpenBoard-org/OpenBoard / gotoContentSource

Method gotoContentSource

src/domain/UBGraphicsItemDelegate.cpp:720–729  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

718}
719
720void UBGraphicsItemDelegate::gotoContentSource()
721{
722 UBItem* item = dynamic_cast<UBItem*>(mDelegated);
723
724 if(item && !item->sourceUrl().isEmpty())
725 {
726 UBApplication::applicationController->showInternet();
727 UBApplication::webController->loadUrl(item->sourceUrl());
728 }
729}
730
731void UBGraphicsItemDelegate::startUndoStep()
732{

Callers

nothing calls this directly

Calls 4

sourceUrlMethod · 0.80
loadUrlMethod · 0.80
isEmptyMethod · 0.45
showInternetMethod · 0.45

Tested by

no test coverage detected