mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-22 12:35:14 +00:00
LibGUI: Make the ModelEditingDelegate constructor protected
This commit is contained in:
parent
4d5e144a6b
commit
ca110a6e54
Notes:
sideshowbarker
2024-07-19 08:53:56 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/ca110a6e54c
1 changed files with 2 additions and 1 deletions
|
@ -34,7 +34,6 @@ namespace GUI {
|
|||
|
||||
class ModelEditingDelegate {
|
||||
public:
|
||||
ModelEditingDelegate() {}
|
||||
virtual ~ModelEditingDelegate() {}
|
||||
|
||||
void bind(Model& model, const ModelIndex& index)
|
||||
|
@ -57,6 +56,8 @@ public:
|
|||
virtual void will_begin_editing() {}
|
||||
|
||||
protected:
|
||||
ModelEditingDelegate() {}
|
||||
|
||||
virtual RefPtr<Widget> create_widget() = 0;
|
||||
void commit()
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue