summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-05-07 23:28:22 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-05-07 23:28:22 +0200
commit5b0c0847eff037dec9e1657a3113754f14c9fe71 (patch)
tree1fe1d15702bf247004e315b384b1e869145c6135
parent1598a0a5cbec9fd63bf383dc727a13110579ddd6 (diff)
downloadserenity-5b0c0847eff037dec9e1657a3113754f14c9fe71.zip
GSpinBox: Add class_name() override.
-rw-r--r--LibGUI/GSpinBox.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/LibGUI/GSpinBox.h b/LibGUI/GSpinBox.h
index 7bce28ce7f..c32e1d697d 100644
--- a/LibGUI/GSpinBox.h
+++ b/LibGUI/GSpinBox.h
@@ -21,6 +21,8 @@ public:
Function<void(int value)> on_change;
+ virtual const char* class_name() const override { return "GSpinBox"; }
+
protected:
virtual void resize_event(GResizeEvent&) override;