summaryrefslogtreecommitdiff
path: root/client/mainwindow.cc
diff options
context:
space:
mode:
Diffstat (limited to 'client/mainwindow.cc')
-rw-r--r--client/mainwindow.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/client/mainwindow.cc b/client/mainwindow.cc
index ece1572..27d8486 100644
--- a/client/mainwindow.cc
+++ b/client/mainwindow.cc
@@ -53,6 +53,9 @@
#include "debug.h"
+// Declared in pracro.cc
+extern QString patientname;
+
class Dbg : public QLabel {
public:
Dbg() {
@@ -99,7 +102,7 @@ MainWindow::MainWindow(QString patientid, QString course, QString templ,
this->course = course;
this->templ = templ;
- setWindowTitle("Pracro - " + patientid);
+ setWindowTitle("Pracro - " + patientid + ": " + patientname);
setWindowIcon(QIcon(":/icons/icon.png"));
QStatusBar *status = statusBar();