diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-07-27 08:42:15 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-07-27 08:42:15 +0200 |
commit | cd3463d2e366139aaecaa3ba9e84110e176bfb60 (patch) | |
tree | fc9f0f86c69352ea70a20b72192d9bbad8e9db9c /Applications | |
parent | 5d83a049c27690596d52eb775c83d04384a72ad3 (diff) | |
download | serenity-cd3463d2e366139aaecaa3ba9e84110e176bfb60.zip |
ProcessManager: Rename "widget" to "process_table_container".
Diffstat (limited to 'Applications')
-rw-r--r-- | Applications/ProcessManager/main.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Applications/ProcessManager/main.cpp b/Applications/ProcessManager/main.cpp index 925d67ad07..5473dd1c9e 100644 --- a/Applications/ProcessManager/main.cpp +++ b/Applications/ProcessManager/main.cpp @@ -28,8 +28,8 @@ int main(int argc, char** argv) auto* tabwidget = new GTabWidget(keeper); - auto* widget = new GWidget(nullptr); - tabwidget->add_widget("Processes", widget); + auto* process_table_container = new GWidget(nullptr); + tabwidget->add_widget("Processes", process_table_container); auto* graphs_container = new GWidget; graphs_container->set_fill_with_background_color(true); @@ -64,14 +64,14 @@ int main(int argc, char** argv) tabwidget->add_widget("Graphs", graphs_container); - widget->set_layout(make<GBoxLayout>(Orientation::Vertical)); - widget->layout()->set_margins({ 4, 0, 4, 4 }); - widget->layout()->set_spacing(0); + process_table_container->set_layout(make<GBoxLayout>(Orientation::Vertical)); + process_table_container->layout()->set_margins({ 4, 0, 4, 4 }); + process_table_container->layout()->set_spacing(0); - auto* toolbar = new GToolBar(widget); + auto* toolbar = new GToolBar(process_table_container); toolbar->set_has_frame(false); - auto* process_table_view = new ProcessTableView(*cpu_graph, widget); - auto* memory_stats_widget = new MemoryStatsWidget(*memory_graph, widget); + auto* process_table_view = new ProcessTableView(*cpu_graph, process_table_container); + auto* memory_stats_widget = new MemoryStatsWidget(*memory_graph, process_table_container); auto* refresh_timer = new CTimer(1000, [&] { process_table_view->refresh(); |