| 995 | } |
| 996 | |
| 997 | void AppWindow::updateLanguageServerFilePath(MainWindow *window, const QString &path) |
| 998 | { |
| 999 | if (currentWindow() == window) |
| 1000 | { |
| 1001 | if (window->getLanguage() == "C++" && cppServer->isDocumentOpen()) |
| 1002 | cppServer->updatePath(path); |
| 1003 | else if (window->getLanguage() == "Java" && javaServer->isDocumentOpen()) |
| 1004 | javaServer->updatePath(path); |
| 1005 | else if (window->getLanguage() == "Python" && pythonServer->isDocumentOpen()) |
| 1006 | pythonServer->updatePath(path); |
| 1007 | } |
| 1008 | } |
| 1009 | |
| 1010 | void AppWindow::onEditorLanguageChanged(MainWindow *window) |
| 1011 | { |
nothing calls this directly
no test coverage detected