From cce15529feb804947b79ef06057b7d64cc0e1abe Mon Sep 17 00:00:00 2001 From: WarmUpTill Date: Sat, 2 Oct 2021 19:25:03 +0200 Subject: [PATCH] Adjust return type --- src/scene-selection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scene-selection.cpp b/src/scene-selection.cpp index 34e59eea..fe262b08 100644 --- a/src/scene-selection.cpp +++ b/src/scene-selection.cpp @@ -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) {