summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/Model.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-05-21 18:56:52 +0200
committerAndreas Kling <kling@serenityos.org>2020-05-21 19:55:44 +0200
commit04187576ffc287679a3d5f341ab720b3ab6e3317 (patch)
tree53d0a6324b34d8a8119984908d3006fffdd6e4cb /Libraries/LibGUI/Model.h
parent57d15acd4cb16e479d2ec79d674318ae388dc328 (diff)
downloadserenity-04187576ffc287679a3d5f341ab720b3ab6e3317.zip
LibGUI: Models should always specify font via Model::Role::Font
This gets rid of one field in ColumnData. The goal is to get rid of all fields and lose ColumnData entirely.
Diffstat (limited to 'Libraries/LibGUI/Model.h')
-rw-r--r--Libraries/LibGUI/Model.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/Libraries/LibGUI/Model.h b/Libraries/LibGUI/Model.h
index 4c5121142e..8cd34935d1 100644
--- a/Libraries/LibGUI/Model.h
+++ b/Libraries/LibGUI/Model.h
@@ -49,7 +49,6 @@ public:
struct ColumnMetadata {
int preferred_width { 0 };
Gfx::TextAlignment text_alignment { Gfx::TextAlignment::CenterLeft };
- const Gfx::Font* font { nullptr };
enum class Sortable {
False,
True,