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

Method ShowGlobalSettings

launcher/Application.cpp:1458–1470  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1456}
1457
1458void Application::ShowGlobalSettings(class QWidget* parent, QString open_page)
1459{
1460 if(!m_globalSettingsProvider) {
1461 return;
1462 }
1463 emit globalSettingsAboutToOpen();
1464 {
1465 SettingsObject::Lock lock(APPLICATION->settings());
1466 PageDialog dlg(m_globalSettingsProvider.get(), open_page, parent);
1467 dlg.exec();
1468 }
1469 emit globalSettingsClosed();
1470}
1471
1472MainWindow* Application::showMainWindow(bool minimized)
1473{

Calls 3

settingsMethod · 0.45
getMethod · 0.45
execMethod · 0.45

Tested by

no test coverage detected