summaryrefslogtreecommitdiffhomepage
path: root/tracker-steamvr
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-03-30 14:02:12 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-04-06 04:29:48 +0200
commit33ed2aafb7fcf367919d7d4db0b97bf54eb38748 (patch)
tree8faec6fd4f4a5d5b9909efd7a1af93689ca879f6 /tracker-steamvr
parent4a3d37c7d98a2fddc19feb920a3f02bc6868a063 (diff)
tracker/steamvr: use strerror from right namespace
Also use in device_list method to be explicit.
Diffstat (limited to 'tracker-steamvr')
-rw-r--r--tracker-steamvr/steamvr.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tracker-steamvr/steamvr.cpp b/tracker-steamvr/steamvr.cpp
index e5585541..f2aacb73 100644
--- a/tracker-steamvr/steamvr.cpp
+++ b/tracker-steamvr/steamvr.cpp
@@ -159,7 +159,7 @@ tt device_list::vr_init_()
if (v)
std::atexit(vr::VR_Shutdown);
else
- once_only(qDebug() << "steamvr: init failure" << error << strerror(error));
+ once_only(qDebug() << "steamvr: init failure" << error << device_list::strerror(error));
return tt(v, error);
}
@@ -185,7 +185,7 @@ void steamvr::start_tracker(QFrame*)
if (!v)
{
QMessageBox::warning(nullptr,
- tr("Valve SteamVR init error"), strerror(e),
+ tr("Valve SteamVR init error"), device_list::strerror(e),
QMessageBox::Close, QMessageBox::NoButton);
return;
}