gcc compile fixes.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24665 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2008-05-07 21:05:04 +00:00
parent 1f75ad8dac
commit 9db0f4a83c
2 changed files with 4 additions and 2 deletions

View File

@ -118,10 +118,10 @@ static QList<FamilyPair> familyData()
namespace { namespace {
template<class T> template<typename T>
void fillCombo(QComboBox * combo, QList<T> list) void fillCombo(QComboBox * combo, QList<T> list)
{ {
QList<T>::const_iterator cit = list.begin(); typename QList<T>::const_iterator cit = list.begin();
for (; cit != list.end(); ++cit) for (; cit != list.end(); ++cit)
combo->addItem(cit->first); combo->addItem(cit->first);
} }

View File

@ -19,6 +19,8 @@
#include <QString> #include <QString>
#include <utility>
class QComboBox; class QComboBox;
class QLineEdit; class QLineEdit;
class QCheckBox; class QCheckBox;