diff --git a/src/frontends/qt4/GuiCharacter.cpp b/src/frontends/qt4/GuiCharacter.cpp index 71fcf979ef..a1d7abe03a 100644 --- a/src/frontends/qt4/GuiCharacter.cpp +++ b/src/frontends/qt4/GuiCharacter.cpp @@ -118,10 +118,10 @@ static QList familyData() namespace { -template +template void fillCombo(QComboBox * combo, QList list) { - QList::const_iterator cit = list.begin(); + typename QList::const_iterator cit = list.begin(); for (; cit != list.end(); ++cit) combo->addItem(cit->first); } diff --git a/src/frontends/qt4/qt_helpers.h b/src/frontends/qt4/qt_helpers.h index 7084cc95cc..ee3aa6d51c 100644 --- a/src/frontends/qt4/qt_helpers.h +++ b/src/frontends/qt4/qt_helpers.h @@ -19,6 +19,8 @@ #include +#include + class QComboBox; class QLineEdit; class QCheckBox;