From bb290f9fecc48d407c2bc75a64b0e8a94bc3aeba Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Tue, 28 Dec 2021 22:30:12 +0100 Subject: Fix more warnings and remove dead code --- src/ui/TextField.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/ui/TextField.cpp') diff --git a/src/ui/TextField.cpp b/src/ui/TextField.cpp index 8f1a6aa5..dd4d655d 100644 --- a/src/ui/TextField.cpp +++ b/src/ui/TextField.cpp @@ -40,6 +40,7 @@ void TextField::setBackgroundColor(const QColor &color) { background_color_ = color; + emit backgroundColorChanged(); } QColor @@ -130,6 +131,7 @@ void TextField::setLabelColor(const QColor &color) { label_color_ = color; + emit labelColorChanged(); update(); } @@ -147,6 +149,7 @@ void TextField::setInkColor(const QColor &color) { ink_color_ = color; + emit inkColorChanged(); update(); } @@ -164,6 +167,7 @@ void TextField::setUnderlineColor(const QColor &color) { underline_color_ = color; + emit underlineColorChanged(); update(); } -- cgit 1.5.1