summaryrefslogtreecommitdiffhomepage
path: root/video
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2020-01-27 15:01:47 +0100
committerStanislaw Halik <sthalik@misaki.pl>2020-01-27 15:01:47 +0100
commitbe507c1727c34b72869354d5231839acd5ce2be9 (patch)
tree2f4399cb85c74f72bbc742a7748c3cdac0706eeb /video
parent345684b681242dc6e1e2ddf9e8e20d4a419b3f7a (diff)
Revert "video: don't sort camera names"
This reverts commit 345684b681242dc6e1e2ddf9e8e20d4a419b3f7a.
Diffstat (limited to 'video')
-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;
}