| 55 | } |
| 56 | |
| 57 | void JVisualVMFactory::registerSettings(SettingsObjectPtr settings) |
| 58 | { |
| 59 | QString defaultValue = QStandardPaths::findExecutable("jvisualvm"); |
| 60 | if (defaultValue.isNull()) { |
| 61 | defaultValue = QStandardPaths::findExecutable("visualvm"); |
| 62 | } |
| 63 | settings->registerSetting("JVisualVMPath", defaultValue); |
| 64 | globalSettings = settings; |
| 65 | } |
| 66 | |
| 67 | BaseExternalTool* JVisualVMFactory::createTool(InstancePtr instance, QObject* parent) |
| 68 | { |
no test coverage detected