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

Method ShowGlobalSettings

launcher/Application.cpp:1384–1396  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1382}
1383
1384void Application::ShowGlobalSettings(class QWidget* parent, QString open_page)
1385{
1386 if(!m_globalSettingsProvider) {
1387 return;
1388 }
1389 emit globalSettingsAboutToOpen();
1390 {
1391 SettingsObject::Lock lock(APPLICATION->settings());
1392 PageDialog dlg(m_globalSettingsProvider.get(), open_page, parent);
1393 dlg.exec();
1394 }
1395 emit globalSettingsClosed();
1396}
1397
1398MainWindow* Application::showMainWindow(bool minimized)
1399{

Calls 3

settingsMethod · 0.45
getMethod · 0.45
execMethod · 0.45

Tested by

no test coverage detected