projects
/
dwell.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f8ad4c
)
Initial import Kinect Vdrift
author
Thomas Pietrzak
<thomas.pietrzak@gmail.com>
Wed, 15 Feb 2012 13:50:34 +0000
(13:50 +0000)
committer
Thomas Pietrzak
<thomas.pietrzak@gmail.com>
Wed, 15 Feb 2012 13:50:34 +0000
(13:50 +0000)
git-svn-id: svn+ssh://thomaspietrzak.com/var/svn/rep@47
47cf9a05
-e0a8-4ed5-9e9b-
101a649bc004
DwellCursor/DwellWidget.cpp
patch
|
blob
|
history
diff --git
a/DwellCursor/DwellWidget.cpp
b/DwellCursor/DwellWidget.cpp
index 7ca041c073d48001c9acccc9ef1537fa9f0569ae..7b5aac604bcec391528cca806c259d869fe020d2 100644
(file)
--- a/
DwellCursor/DwellWidget.cpp
+++ b/
DwellCursor/DwellWidget.cpp
@@
-91,7
+91,15
@@
DwellWidget::~DwellWidget()
\r
void DwellWidget::init()
\r
{
\r
-// _tactonplayer = new TactonPlayer("COM4");
\r
+ try
\r
+ {
\r
+ _tactonplayer = new TactonPlayer("COM4");
\r
+ }
\r
+ catch (...)
\r
+ {
\r
+ _tactonplayer = NULL;
\r
+ }
\r
+
\r
//hover tacton
\r
if (_tactonplayer)
\r
{
\r