mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-09-19 23:13:53 -05:00
Adjust return type
This commit is contained in:
@@ -140,7 +140,7 @@ void SceneSelectionWidget::SetScene(SceneSelection &s)
|
||||
}
|
||||
}
|
||||
|
||||
static int isFirstEntry(QComboBox *l, QString name, int idx)
|
||||
static bool isFirstEntry(QComboBox *l, QString name, int idx)
|
||||
{
|
||||
for (auto i = l->count() - 1; i >= 0; i--) {
|
||||
if (l->itemText(i) == name) {
|
||||
|
||||
Reference in New Issue
Block a user