diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-07-19 13:11:31 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-07-19 13:11:31 +0200 |
commit | 82b32622408090dd1c3716b58e292ec706e4fc57 (patch) | |
tree | 2ffccc195e1376590642f4bbdb5d5ea59f3c3614 | |
parent | 9457c8c2c7e7bc6bf057cbb2e17b2e0f207db572 (diff) |
append more useful name than empty string
-rw-r--r-- | opentrack/camera-names.hpp | 2 |
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; |