GuiBox.cpp: a compile fix

This commit is contained in:
Uwe Stöhr 2015-05-17 01:28:06 +02:00
parent 324abefd53
commit 51e3b026b2

View File

@ -172,7 +172,7 @@ void GuiBox::fillComboColor(QComboBox * combo, bool const is_none)
if (is_none) if (is_none)
combo->addItem(toqstr(translateIfPossible(lcolor.getGUIName(Color_none))), combo->addItem(toqstr(translateIfPossible(lcolor.getGUIName(Color_none))),
toqstr(lcolor.getLaTeXName(Color_none))); toqstr(lcolor.getLaTeXName(Color_none)));
typename QList<ColorCode>::const_iterator cit = color_codes_.begin() + 1; QList<ColorCode>::const_iterator cit = color_codes_.begin() + 1;
for (; cit != color_codes_.end(); ++cit) { for (; cit != color_codes_.end(); ++cit) {
QString const latexname = toqstr(lcolor.getLaTeXName(*cit)); QString const latexname = toqstr(lcolor.getLaTeXName(*cit));
QString const guiname = toqstr(translateIfPossible(lcolor.getGUIName(*cit))); QString const guiname = toqstr(translateIfPossible(lcolor.getGUIName(*cit)));