summaryrefslogtreecommitdiffhomepage
path: root/opentrack/camera-names.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-07-19 13:11:31 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-07-19 13:11:31 +0200
commit82b32622408090dd1c3716b58e292ec706e4fc57 (patch)
tree2ffccc195e1376590642f4bbdb5d5ea59f3c3614 /opentrack/camera-names.hpp
parent9457c8c2c7e7bc6bf057cbb2e17b2e0f207db572 (diff)
append more useful name than empty string
Diffstat (limited to 'opentrack/camera-names.hpp')
-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;