| 766 | } |
| 767 | |
| 768 | void Application::printConfig(const ArgumentOccurrence &) |
| 769 | { |
| 770 | // disable main event loop since this method is invoked directly as argument callback and we're doing all required async operations during the waitForConfig() call already |
| 771 | m_requiresMainEventLoop = false; |
| 772 | |
| 773 | if (!waitForConfig()) { |
| 774 | return; |
| 775 | } |
| 776 | cerr << Phrases::Override; |
| 777 | cout << QJsonDocument(m_connection.rawConfig()).toJson(QJsonDocument::Indented).data() << flush; |
| 778 | } |
| 779 | |
| 780 | void Application::editConfig(const ArgumentOccurrence &) |
| 781 | { |