From 33ed2aafb7fcf367919d7d4db0b97bf54eb38748 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 30 Mar 2017 14:02:12 +0200 Subject: tracker/steamvr: use strerror from right namespace Also use in device_list method to be explicit. --- tracker-steamvr/steamvr.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tracker-steamvr/steamvr.cpp') 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; } -- cgit v1.2.3