From 82b32622408090dd1c3716b58e292ec706e4fc57 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 19 Jul 2015 13:11:31 +0200 Subject: append more useful name than empty string --- opentrack/camera-names.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'opentrack/camera-names.hpp') diff --git a/opentrack/camera-names.hpp b/opentrack/camera-names.hpp index d769a24f..6e5bc8e7 100644 --- a/opentrack/camera-names.hpp +++ b/opentrack/camera-names.hpp @@ -81,7 +81,7 @@ QList get_camera_names() { char buf[128]; sprintf(buf, "/dev/video%d", i); if (access(buf, F_OK) == 0) - ret.append(""); + ret.append(buf); else continue; -- cgit v1.2.3