Improve comment.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23201 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2008-02-24 22:42:27 +00:00
parent d667f7463e
commit 5a45ef653b

View File

@ -274,8 +274,7 @@ void GuiLayoutBox::addItemSort(QString const & item, bool sorted)
//below but to compare translated strings to figure out which layout the //below but to compare translated strings to figure out which layout the
//user wants. This is not ideal. A better way is the way module names are //user wants. This is not ideal. A better way is the way module names are
//handled in GuiDocument: viz, the untranslated name can be associated //handled in GuiDocument: viz, the untranslated name can be associated
//with the item via QComboBox::setItemData(). It may be that this can //with the item by using GuiIdListModel.
//even be done by passing: addItem(item, untransName).
int const end = count(); int const end = count();
if (!sorted || end < 2 || item[0].category() != QChar::Letter_Uppercase) { if (!sorted || end < 2 || item[0].category() != QChar::Letter_Uppercase) {
addItem(item); addItem(item);