diff options
author | Petr Mrázek <peterix@gmail.com> | 2015-07-04 20:02:43 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2015-07-04 20:02:43 +0200 |
commit | 526a511f455234152ca9b5bc8c60d3c82cbfa417 (patch) | |
tree | dfc64e8d84fff503f646e7422d6b7939475a6dca /logic/tools/JProfiler.cpp | |
parent | 5628d3d379785c9c6f4a595c70392d9b1e9ea4df (diff) | |
download | MultiMC-526a511f455234152ca9b5bc8c60d3c82cbfa417.tar MultiMC-526a511f455234152ca9b5bc8c60d3c82cbfa417.tar.gz MultiMC-526a511f455234152ca9b5bc8c60d3c82cbfa417.tar.lz MultiMC-526a511f455234152ca9b5bc8c60d3c82cbfa417.tar.xz MultiMC-526a511f455234152ca9b5bc8c60d3c82cbfa417.zip |
GH-1053 move instance update into the launch task (BaseLauncher)
Diffstat (limited to 'logic/tools/JProfiler.cpp')
-rw-r--r-- | logic/tools/JProfiler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/logic/tools/JProfiler.cpp b/logic/tools/JProfiler.cpp index 73121239..975345d5 100644 --- a/logic/tools/JProfiler.cpp +++ b/logic/tools/JProfiler.cpp @@ -18,7 +18,7 @@ private slots: void profilerFinished(int exit, QProcess::ExitStatus status); protected: - void beginProfilingImpl(BaseLauncher *process); + void beginProfilingImpl(std::shared_ptr<BaseLauncher> process); private: int listeningPort = 0; @@ -48,7 +48,7 @@ void JProfiler::profilerFinished(int exit, QProcess::ExitStatus status) } } -void JProfiler::beginProfilingImpl(BaseLauncher *process) +void JProfiler::beginProfilingImpl(std::shared_ptr<BaseLauncher> process) { listeningPort = globalSettings->get("JProfilerPort").toInt(); QProcess *profiler = new QProcess(this); |