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