diff options
Diffstat (limited to 'client/widgets/lineedit.cc')
-rw-r--r-- | client/widgets/lineedit.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/widgets/lineedit.cc b/client/widgets/lineedit.cc index 686791d..d50ec6b 100644 --- a/client/widgets/lineedit.cc +++ b/client/widgets/lineedit.cc @@ -30,6 +30,7 @@ LineEdit::LineEdit(QDomNode node) : QLineEdit() { QDomElement elem = node.toElement(); + widget_name = elem.attribute("name"); rx = QRegExp(elem.attribute("regexp")); connect(this, SIGNAL(textChanged(QString)), this, SLOT(changed(QString))); @@ -54,7 +55,7 @@ void LineEdit::changed(QString text) valid = false; } setPalette(palette); - printf("%s\n", text.toStdString().c_str()); + //printf("%s\n", text.toStdString().c_str()); } bool LineEdit::isValid() |