MCPcopy Create free account
hub / github.com/PolyMC/PolyMC / help

Method help

launcher/ui/widgets/PageContainer.cpp:234–243  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

232}
233
234void PageContainer::help()
235{
236 if (m_currentPage)
237 {
238 QString pageId = m_currentPage->helpPage();
239 if (pageId.isEmpty())
240 return;
241 DesktopServices::openUrl(QUrl(BuildConfig.HELP_URL.arg(pageId)));
242 }
243}
244
245void PageContainer::currentChanged(const QModelIndex &current)
246{

Callers

nothing calls this directly

Calls 4

openUrlFunction · 0.85
QUrlClass · 0.85
isEmptyMethod · 0.80
helpPageMethod · 0.45

Tested by

no test coverage detected