summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-03-31 06:00:31 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-03-31 06:00:31 +0200
commitc8599b51831c925cb69105ec6f8b5bcfc253b37c (patch)
tree3ad4c322179c2235b2e4569d91c61aad427b35fe
parentedf65cf55a13d2a062d257bc36fd9098323dbdcf (diff)
hatire: also show com port error message
-rw-r--r--ftnoir_tracker_hatire/ftnoir_tracker_hat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ftnoir_tracker_hatire/ftnoir_tracker_hat.cpp b/ftnoir_tracker_hatire/ftnoir_tracker_hat.cpp
index 3f7e1988..78535d01 100644
--- a/ftnoir_tracker_hatire/ftnoir_tracker_hat.cpp
+++ b/ftnoir_tracker_hatire/ftnoir_tracker_hat.cpp
@@ -334,7 +334,7 @@ void FTNoIR_Tracker::start_tracker(QFrame*)
}
}
else {
- QMessageBox::warning(0,"FaceTrackNoIR Error", "Unable to open ComPort",QMessageBox::Ok,QMessageBox::NoButton);
+ QMessageBox::warning(0,"FaceTrackNoIR Error", "Unable to open ComPort: " + ComPort->errorString(), QMessageBox::Ok,QMessageBox::NoButton);
delete ComPort;
ComPort = NULL;
}