summaryrefslogtreecommitdiff
path: root/Applications/SystemMonitor/main.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-08-26 00:15:48 +0200
committerAndreas Kling <kling@serenityos.org>2020-08-26 00:51:35 +0200
commitcfc30b11ba2910e70d4dc42cd6682854231a8a3b (patch)
tree4392ef68bb431ba9e477d0e583c342731445d09c /Applications/SystemMonitor/main.cpp
parent44e371635ea614e48c57e1e1f8215ca4b6228ce3 (diff)
downloadserenity-cfc30b11ba2910e70d4dc42cd6682854231a8a3b.zip
LibGUI: Rename table view's "cell painting delegate" to "column *"
What you install with this API is a delegate that manages painting of all the items in a specific column, so let's make the API reflect that.
Diffstat (limited to 'Applications/SystemMonitor/main.cpp')
-rw-r--r--Applications/SystemMonitor/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Applications/SystemMonitor/main.cpp b/Applications/SystemMonitor/main.cpp
index f75a5a9d7e..a9c6771d09 100644
--- a/Applications/SystemMonitor/main.cpp
+++ b/Applications/SystemMonitor/main.cpp
@@ -443,7 +443,7 @@ NonnullRefPtr<GUI::Widget> build_file_systems_tab()
df_fields.empend("block_size", "Block size", Gfx::TextAlignment::CenterRight);
fs_table_view.set_model(GUI::SortingProxyModel::create(GUI::JsonArrayModel::create("/proc/df", move(df_fields))));
- fs_table_view.set_cell_painting_delegate(3, make<ProgressBarPaintingDelegate>());
+ fs_table_view.set_column_painting_delegate(3, make<ProgressBarPaintingDelegate>());
fs_table_view.model()->update();
};