summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--opentrack/camera-names.hpp2
1 files changed, 1 insertions, 1 deletions
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<QString> 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;