MCPcopy Create free account
hub / github.com/MultiMC/Launcher / ShowGlobalSettings

Method ShowGlobalSettings

launcher/Application.cpp:1399–1411  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1397}
1398
1399void Application::ShowGlobalSettings(class QWidget* parent, QString open_page)
1400{
1401 if(!m_globalSettingsProvider) {
1402 return;
1403 }
1404 emit globalSettingsAboutToOpen();
1405 {
1406 SettingsObject::Lock lock(APPLICATION->settings());
1407 PageDialog dlg(m_globalSettingsProvider.get(), open_page, parent);
1408 dlg.exec();
1409 }
1410 emit globalSettingsClosed();
1411}
1412
1413MainWindow* Application::showMainWindow(bool minimized)
1414{

Calls 3

settingsMethod · 0.45
getMethod · 0.45
execMethod · 0.45

Tested by

no test coverage detected