Commit 76859dba authored by Christoffer Ackelman's avatar Christoffer Ackelman

QT: Fix focus change on login dialog when password field loses focus.

parent a6170a03
...@@ -118,7 +118,7 @@ CoLoginQt::CoLoginQt(void* wl_parent_ctx, QWidget* wl_parent_wid, ...@@ -118,7 +118,7 @@ CoLoginQt::CoLoginQt(void* wl_parent_ctx, QWidget* wl_parent_wid,
password = new QLineEdit(); password = new QLineEdit();
password->setFixedHeight(20); password->setFixedHeight(20);
QObject::connect(password, SIGNAL(editingFinished()), toplevel, QObject::connect(password, SIGNAL(returnPressed()), toplevel,
SLOT(valchanged_password())); SLOT(valchanged_password()));
QWidget* passwordlabel = new QLabel("Password"); QWidget* passwordlabel = new QLabel("Password");
...@@ -197,4 +197,4 @@ pwr_tStatus CoLoginQt::get_values() ...@@ -197,4 +197,4 @@ pwr_tStatus CoLoginQt::get_values()
void CoLoginQt::message(const char* new_label) void CoLoginQt::message(const char* new_label)
{ {
label->setText(fl(new_label)); label->setText(fl(new_label));
} }
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment