summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/JsonArrayModel.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-05-21 19:52:04 +0200
committerAndreas Kling <kling@serenityos.org>2020-05-21 19:55:44 +0200
commit2adb0a07e53695e1f636384a3323aba828d48e52 (patch)
treed1affc27e33ec70daaa4d317d39ee2c6c781415b /Libraries/LibGUI/JsonArrayModel.h
parentc666c251c89f9d63a4855494cc2cf0f92e524db0 (diff)
downloadserenity-2adb0a07e53695e1f636384a3323aba828d48e52.zip
LibGUI: Get rid of Model::ColumnMetadata and always use auto-sizing
Auto-sizing of view columns is now enabled by default. This removes the last remaining need for ColumnMetadata, so this patch gets rid of it.
Diffstat (limited to 'Libraries/LibGUI/JsonArrayModel.h')
-rw-r--r--Libraries/LibGUI/JsonArrayModel.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/Libraries/LibGUI/JsonArrayModel.h b/Libraries/LibGUI/JsonArrayModel.h
index f6366cf637..0c59663663 100644
--- a/Libraries/LibGUI/JsonArrayModel.h
+++ b/Libraries/LibGUI/JsonArrayModel.h
@@ -69,7 +69,6 @@ public:
virtual int row_count(const ModelIndex& = ModelIndex()) const override { return m_array.size(); }
virtual int column_count(const ModelIndex& = ModelIndex()) const override { return m_fields.size(); }
virtual String column_name(int column) const override { return m_fields[column].column_name; }
- virtual ColumnMetadata column_metadata(int) const override;
virtual Variant data(const ModelIndex&, Role = Role::Display) const override;
virtual void update() override;