| 65 | } |
| 66 | |
| 67 | void JVisualVMFactory::registerSettings(SettingsObjectPtr settings) |
| 68 | { |
| 69 | QString defaultValue = QStandardPaths::findExecutable("jvisualvm"); |
| 70 | if (defaultValue.isNull()) |
| 71 | { |
| 72 | defaultValue = QStandardPaths::findExecutable("visualvm"); |
| 73 | } |
| 74 | settings->registerSetting("JVisualVMPath", defaultValue); |
| 75 | globalSettings = settings; |
| 76 | } |
| 77 | |
| 78 | BaseExternalTool *JVisualVMFactory::createTool(InstancePtr instance, QObject *parent) |
| 79 | { |
no test coverage detected