Merge pull request #2428 from Rosuav/remove-build-warning

UI: Fix compilation warning re signed/unsigned
This commit is contained in:
Dillon Pentz 2020-02-24 14:36:46 +13:00 committed by GitHub
commit 0dd4e34518
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -290,7 +290,7 @@ void OBSBasicAdvAudio::SetIconsVisible(bool visible)
QLabel *headerLabel = qobject_cast<QLabel *>(item->widget());
visible ? headerLabel->show() : headerLabel->hide();
for (int i = 0; i < controls.size(); i++) {
for (size_t i = 0; i < controls.size(); i++) {
controls[i]->SetIconVisible(visible);
}
}