Browse Source

UI: Use case-insensitive sort for "show all" services

jp9000 5 years ago
parent
commit
22ebba0454
2 changed files with 2 additions and 2 deletions
  1. 1 1
      UI/window-basic-auto-config.cpp
  2. 1 1
      UI/window-basic-settings-stream.cpp

+ 1 - 1
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);

+ 1 - 1
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);