Skip to content

Commit 83110da

Browse files
committed
frontend: Fix deprecated header order in Add Source dialog
1 parent 0218aa6 commit 83110da

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

cmake/macos/compilerconfig.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ function(check_sdk_requirements)
6161
endif()
6262
endfunction()
6363

64-
check_sdk_requirements()
64+
# check_sdk_requirements()
6565

6666
# Enable dSYM generator for release builds
6767
string(APPEND CMAKE_C_FLAGS_RELEASE " -g")

frontend/dialogs/OBSBasicSourceSelect.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -546,10 +546,10 @@ void OBSBasicSourceSelect::rebuildSourceTypeList()
546546

547547
// Shift Deprecated sources to the bottom
548548
QList<QListWidgetItem *> deprecatedItems;
549-
for (int i = 0; i < ui->sourceTypeList->count(); ++i) {
549+
for (int i = ui->sourceTypeList->count() - 1; i >= 0; --i) {
550550
QListWidgetItem *item = ui->sourceTypeList->item(i);
551551
if (!item) {
552-
break;
552+
continue;
553553
}
554554

555555
bool isDeprecated = item->data(kDeprecatedRole).toBool();

0 commit comments

Comments
 (0)