mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
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:
parent
1f75ad8dac
commit
9db0f4a83c
@ -118,10 +118,10 @@ static QList<FamilyPair> familyData()
|
||||
|
||||
namespace {
|
||||
|
||||
template<class T>
|
||||
template<typename T>
|
||||
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)
|
||||
combo->addItem(cit->first);
|
||||
}
|
||||
|
@ -19,6 +19,8 @@
|
||||
|
||||
#include <QString>
|
||||
|
||||
#include <utility>
|
||||
|
||||
class QComboBox;
|
||||
class QLineEdit;
|
||||
class QCheckBox;
|
||||
|
Loading…
Reference in New Issue
Block a user