diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2020-01-27 15:01:47 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2020-01-27 15:01:47 +0100 |
commit | be507c1727c34b72869354d5231839acd5ce2be9 (patch) | |
tree | 2f4399cb85c74f72bbc742a7748c3cdac0706eeb | |
parent | 345684b681242dc6e1e2ddf9e8e20d4a419b3f7a (diff) |
Revert "video: don't sort camera names"
This reverts commit 345684b681242dc6e1e2ddf9e8e20d4a419b3f7a.
-rw-r--r-- | video/camera.cpp | 1 |
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; } |