summaryrefslogtreecommitdiff
path: root/client/launcherwindow.cc
diff options
context:
space:
mode:
Diffstat (limited to 'client/launcherwindow.cc')
-rw-r--r--client/launcherwindow.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/launcherwindow.cc b/client/launcherwindow.cc
index 1a18602..d2d5436 100644
--- a/client/launcherwindow.cc
+++ b/client/launcherwindow.cc
@@ -49,8 +49,8 @@ LauncherWindow::LauncherWindow(QWidget *parent)
}
*/
QLabel *cprLabel = new QLabel("Patient CPR:");
- cpr = new QLineEdit();
- cpr->setValidator(new QRegExpValidator(QRegExp("^[0-9]{10,10}$"), this));
+ cprLineEdit = new QLineEdit();
+ cprLineEdit->setValidator(new QRegExpValidator(QRegExp("^[0-9]{10,10}$"), this));
QPushButton *ok = new QPushButton("Ok");
connect(ok, SIGNAL(clicked()), this, SLOT(accept()));
@@ -63,7 +63,7 @@ LauncherWindow::LauncherWindow(QWidget *parent)
layout->addWidget(user, 1, 2, 1, 2);
*/
layout->addWidget(cprLabel, 2, 1);
- layout->addWidget(cpr, 2, 2, 1, 2);
+ layout->addWidget(cprLineEdit, 2, 2, 1, 2);
layout->addWidget(ok, 3, 2);
layout->addWidget(cancel, 3, 3);