diff options
Diffstat (limited to 'client/widgets/lineedit.cc')
-rw-r--r-- | client/widgets/lineedit.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/client/widgets/lineedit.cc b/client/widgets/lineedit.cc index a8ea600..1c379dc 100644 --- a/client/widgets/lineedit.cc +++ b/client/widgets/lineedit.cc @@ -33,6 +33,7 @@ #include <QKeyEvent> #include "common.h" +#include "debug.h" LineEdit::LineEdit(QDomNode &node, MacroWindow *macrowindow) : Widget(node, macrowindow) @@ -70,13 +71,13 @@ LineEdit::~LineEdit() void LineEdit::changed() { - eventOnChange(); + emit eventOnChange(); } void LineEdit::user_changed() { + emit eventOnChange(); emit wasChanged(); - eventOnChange(); } QString LineEdit::value() @@ -118,6 +119,8 @@ void LineEdit::changeEvent(QEvent *event) void LineEdit::setWdgValid(bool valid) { + DEBUG(lineedit, "Set valid(%s)", valid?"true":"false"); + QPalette palette; if(valid) { |