ProcessManager: Remove use of copy_ref().

This commit is contained in:
Andreas Kling 2019-07-11 16:04:17 +02:00
parent 6382c14faf
commit a35dc10f54
Notes: sideshowbarker 2024-07-19 13:19:27 +09:00

View file

@ -96,9 +96,9 @@ int main(int argc, char** argv)
kill(pid, SIGCONT);
});
toolbar->add_action(kill_action.copy_ref());
toolbar->add_action(stop_action.copy_ref());
toolbar->add_action(continue_action.copy_ref());
toolbar->add_action(kill_action);
toolbar->add_action(stop_action);
toolbar->add_action(continue_action);
auto menubar = make<GMenuBar>();
auto app_menu = make<GMenu>("Process Manager");