From 22ebba0454d5b4e084f78a050a99c51fde26d220 Mon Sep 17 00:00:00 2001 From: jp9000 Date: Thu, 30 Jul 2020 21:19:24 -0700 Subject: [PATCH] UI: Use case-insensitive sort for "show all" services --- UI/window-basic-auto-config.cpp | 2 +- UI/window-basic-settings-stream.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/UI/window-basic-auto-config.cpp b/UI/window-basic-auto-config.cpp index 31d48c444..e72b772e3 100644 --- a/UI/window-basic-auto-config.cpp +++ b/UI/window-basic-auto-config.cpp @@ -642,7 +642,7 @@ void AutoConfigStreamPage::LoadServices(bool showAll) } if (showAll) - names.sort(); + names.sort(Qt::CaseInsensitive); for (QString &name : names) ui->service->addItem(name); diff --git a/UI/window-basic-settings-stream.cpp b/UI/window-basic-settings-stream.cpp index 7b9131c39..77b0b192d 100644 --- a/UI/window-basic-settings-stream.cpp +++ b/UI/window-basic-settings-stream.cpp @@ -267,7 +267,7 @@ void OBSBasicSettings::LoadServices(bool showAll) } if (showAll) - names.sort(); + names.sort(Qt::CaseInsensitive); for (QString &name : names) ui->service->addItem(name);