MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / openWorkshop

Method openWorkshop

source/frontend/StarModsMenu.cpp:119–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117}
118
119void ModsMenu::openWorkshop() {
120 auto assets = Root::singleton().assets();
121 auto& guiContext = GuiContext::singleton();
122 if (auto desktopService = guiContext.applicationController()->desktopService())
123 desktopService->openUrl(assets->json("/interface/modsmenu/modsmenu.config:workshopLink").toString());
124}
125
126}

Callers

nothing calls this directly

Calls 6

singletonClass · 0.85
assetsMethod · 0.80
openUrlMethod · 0.80
jsonMethod · 0.80
desktopServiceMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected