commit 189144be761df2f59f1282e806120842982b1416
Author: Scott Kostyshak <[email protected]>
Date: Wed Mar 26 01:34:30 2025 +0100
Const
---
src/frontends/qt/GuiBranches.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/frontends/qt/GuiBranches.cpp b/src/frontends/qt/GuiBranches.cpp
index 5b1eadcc39..ce0a76566a 100644
--- a/src/frontends/qt/GuiBranches.cpp
+++ b/src/frontends/qt/GuiBranches.cpp
@@ -202,7 +202,7 @@ void GuiBranches::on_addBranchPB_pressed()
// in the tree when we search for it to select it.
updateView();
// now select the newly added branch
- QList<QTreeWidgetItem *> items_found =
branchesTW->findItems(new_branch, Qt::MatchExactly);
+ QList<QTreeWidgetItem *> const items_found =
branchesTW->findItems(new_branch, Qt::MatchExactly);
LASSERT(items_found.size() == 1, return);
branchesTW->setCurrentItem(items_found[0]);
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs