mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-03-22 01:44:49 -05:00
Adjust return type
This commit is contained in:
parent
588f90f0b1
commit
cce15529fe
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user