LibGUI: Make the ModelEditingDelegate constructor protected

This commit is contained in:
Andreas Kling 2020-03-05 15:32:05 +01:00
parent 4d5e144a6b
commit ca110a6e54
Notes: sideshowbarker 2024-07-19 08:53:56 +09:00

View file

@ -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()
{