From f5f77f16d8c0dc23ffaf4c6a8590e4c026bfcfc8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 20 Oct 2012 01:45:57 +0300 Subject: Add palette inheritance to textfield class. --- src/gui/widgets/passwordfield.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/gui/widgets/passwordfield.cpp') diff --git a/src/gui/widgets/passwordfield.cpp b/src/gui/widgets/passwordfield.cpp index a976f440e..f0dd0f256 100644 --- a/src/gui/widgets/passwordfield.cpp +++ b/src/gui/widgets/passwordfield.cpp @@ -24,8 +24,9 @@ #include "debug.h" -PasswordField::PasswordField(const std::string &text): - TextField(text) +PasswordField::PasswordField(const Widget2 *const widget, + const std::string &text): + TextField(widget, text) { } -- cgit v1.2.3-60-g2f50