Rework tools page

Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
TheKodeToad
2025-03-23 13:04:14 +00:00
parent 411161fe49
commit 8852b5823b
6 changed files with 247 additions and 174 deletions

View File

@@ -24,7 +24,7 @@ JVisualVM::JVisualVM(SettingsObjectPtr settings, InstancePtr instance, QObject*
void JVisualVM::profilerStarted()
{
emit readyToLaunch(tr("JVisualVM started"));
emit readyToLaunch(tr("VisualVM started"));
}
void JVisualVM::profilerFinished([[maybe_unused]] int exit, QProcess::ExitStatus status)
@@ -82,7 +82,7 @@ bool JVisualVMFactory::check(const QString& path, QString* error)
}
QFileInfo finfo(path);
if (!finfo.isExecutable() || !finfo.fileName().contains("visualvm")) {
*error = QObject::tr("Invalid path to JVisualVM");
*error = QObject::tr("Invalid path to VisualVM");
return false;
}
return true;