From 9ba471ac654ff18178723ef0a84c46a03fa20b6f Mon Sep 17 00:00:00 2001 From: senator Date: Tue, 12 Oct 2010 10:18:28 +0000 Subject: added launcher if no cpr specified on command line --- client/launcherwindow.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'client/launcherwindow.cc') 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); -- cgit v1.2.3