summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--video/camera.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/camera.cpp b/video/camera.cpp
index b1fa6a7b..42320402 100644
--- a/video/camera.cpp
+++ b/video/camera.cpp
@@ -72,6 +72,7 @@ std::vector<QString> camera_names()
if (std::find(names.cbegin(), names.cend(), name) == names.cend())
names.push_back(name);
+ std::sort(names.begin(), names.end());
return names;
}