mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +00:00
* is.at is const, is[] is a deep non-const copy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23484 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
6488414cf8
commit
bf96153185
@ -547,7 +547,7 @@ void GuiLayoutBox::addItemSort(docstring const & item, bool sorted)
|
||||
QString is = model_->item(i, 0)->text();
|
||||
while (is.compare(titem) < 0) {
|
||||
// e.g. --Separator--
|
||||
if (is[0].category() != QChar::Letter_Uppercase)
|
||||
if (is.at(0).category() != QChar::Letter_Uppercase)
|
||||
break;
|
||||
++i;
|
||||
if (i == end)
|
||||
|
Loading…
Reference in New Issue
Block a user