seems the temporary copy is needed neverthelesse. it's a 'shallow' one,

though...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23561 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2008-03-08 15:36:29 +00:00
parent f7f67fa95e
commit ff91347e1f

View File

@ -1621,7 +1621,9 @@ PrefLanguage::PrefLanguage(QWidget * parent)
defaultLanguageCO->clear(); defaultLanguageCO->clear();
// store the lang identifiers for later // store the lang identifiers for later
foreach (LanguagePair const & lpair, languageData(false)) { //foreach (LanguagePair const & lpair, languageData(false)) {
QList<LanguagePair> l = languageData(false);
foreach (LanguagePair const & lpair, l) {
defaultLanguageCO->addItem(lpair.first); defaultLanguageCO->addItem(lpair.first);
lang_.append(lpair.second); lang_.append(lpair.second);
} }