| 1382 | } |
| 1383 | |
| 1384 | void 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 | |
| 1398 | MainWindow* Application::showMainWindow(bool minimized) |
| 1399 | { |
no test coverage detected