MCPcopy Create free account
hub / github.com/ElyPrismLauncher/Launcher / getModrinthAPIToken

Method getModrinthAPIToken

launcher/Application.cpp:1921–1928  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1919}
1920
1921QString Application::getModrinthAPIToken()
1922{
1923 QString tokenOverride = m_settings->get("ModrinthToken").toString();
1924 if (!tokenOverride.isEmpty())
1925 return tokenOverride;
1926
1927 return QString();
1928}
1929
1930QString Application::getUserAgent()
1931{

Callers 1

headersMethod · 0.80

Calls 4

QStringClass · 0.70
toStringMethod · 0.45
getMethod · 0.45
isEmptyMethod · 0.45

Tested by

no test coverage detected