diff options
author | senator <senator> | 2010-10-12 10:18:28 +0000 |
---|---|---|
committer | senator <senator> | 2010-10-12 10:18:28 +0000 |
commit | 9ba471ac654ff18178723ef0a84c46a03fa20b6f (patch) | |
tree | 9cdd3fd24f4498e1e4899538f7c5b8c1dd4209ab /client/launcherwindow.cc | |
parent | da99c66b024032122bb0ff7bf2084f05a82c3668 (diff) |
added launcher if no cpr specified on command line
Diffstat (limited to 'client/launcherwindow.cc')
-rw-r--r-- | client/launcherwindow.cc | 6 |
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); |