summaryrefslogtreecommitdiff
path: root/src/gui/widgets/passwordfield.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/passwordfield.cpp')
-rw-r--r--src/gui/widgets/passwordfield.cpp5
1 files changed, 3 insertions, 2 deletions
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)
{
}