diff --git a/src/osx/btop_collect.cpp b/src/osx/btop_collect.cpp index 23a9488..98e1baa 100644 --- a/src/osx/btop_collect.cpp +++ b/src/osx/btop_collect.cpp @@ -1041,7 +1041,7 @@ namespace Proc { } //* Get detailed info for selected process - void _collect_details(const size_t pid, const uint64_t uptime, vector &procs) { + void _collect_details(const size_t pid, vector &procs) { if (pid != detailed.last_pid) { detailed = {}; detailed.last_pid = pid; @@ -1206,7 +1206,7 @@ namespace Proc { //? Update the details info box for process if active if (show_detailed and got_detailed) { - _collect_details(detailed_pid, round(uptime), current_procs); + _collect_details(detailed_pid, current_procs); } else if (show_detailed and not got_detailed and detailed.status != "Dead") { detailed.status = "Dead"; redraw = true;