From 5a45ef653b201daa236aa5ffa0f6c8b846431ade Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Sun, 24 Feb 2008 22:42:27 +0000 Subject: [PATCH] Improve comment. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23201 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiToolbar.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/frontends/qt4/GuiToolbar.cpp b/src/frontends/qt4/GuiToolbar.cpp index ab61ce352a..bd889cae39 100644 --- a/src/frontends/qt4/GuiToolbar.cpp +++ b/src/frontends/qt4/GuiToolbar.cpp @@ -274,8 +274,7 @@ void GuiLayoutBox::addItemSort(QString const & item, bool sorted) //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 //handled in GuiDocument: viz, the untranslated name can be associated - //with the item via QComboBox::setItemData(). It may be that this can - //even be done by passing: addItem(item, untransName). + //with the item by using GuiIdListModel. int const end = count(); if (!sorted || end < 2 || item[0].category() != QChar::Letter_Uppercase) { addItem(item); -- 2.39.2