mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-03 03:46:58 +03:00
Another attempt at fixing windows build
This commit is contained in:
parent
c0e58fbfb2
commit
3b236483df
2 changed files with 8 additions and 4 deletions
|
|
@ -14,7 +14,7 @@ JVisualVM::JVisualVM(OneSixInstance *instance, QObject *parent) : BaseProfiler(i
|
|||
void JVisualVM::beginProfilingImpl(MinecraftProcess *process)
|
||||
{
|
||||
QProcess *profiler = new QProcess(this);
|
||||
profiler->setArguments(QStringList() << "--openpid" << QString::number(process->pid()));
|
||||
profiler->setArguments(QStringList() << "--openpid" << QString::number(pid(process)));
|
||||
profiler->setProgram("jvisualvm");
|
||||
connect(profiler, &QProcess::started, [this]()
|
||||
{ emit readyToLaunch(tr("JVisualVM started")); });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue