Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 12786 → Rev 12787

/trunk/Scribus/scribus/smcstylewidget.cpp
249,8 → 249,8
defLang : parent->language();
 
int ci = -1, pi = -1, di = -1;
LanguageManager langmgr;
langmgr.init(true);
// LanguageManager langmgr;
// langmgr.init(true);
QString tl;
for (int i = 0; i < language_->count(); ++i)
{
259,7 → 259,7
if (hasParent && language_->itemText(i) == langMap_[plang])
pi = i;
tl=langmgr.getTransLangFromLang(defLang);
tl=LanguageManager::instance()->getTransLangFromLang(defLang);
// qDebug() << i << language_->itemText(i) << defLang << langMap_[defLang] << tl;
if (language_->itemText(i) == defLang || language_->itemText(i) == langMap_[defLang] || language_->itemText(i) == tl)
// {