get rid of QT3_SUPPORT and some cleanup

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14737 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2006-08-17 08:51:41 +00:00
parent 7b6815810d
commit 715685a31f

View File

@ -92,7 +92,7 @@ void QBoxDialog::typeChanged(int index)
heightUnitsLC->setEnabled(true);
form_->setSpecial(true);
}
int itype = innerBoxCO->currentItem();
int itype = innerBoxCO->currentIndex();
form_->setInnerType(frameless, itype);
}
@ -104,7 +104,7 @@ void QBoxDialog::restoreClicked()
widthUnitsLC->setCurrentItem(LyXLength::PCW);
heightED->setText("1");
for (int j = 0; j < heightUnitsLC->count(); j++) {
if (heightUnitsLC->text(j) == qt_("Total Height"))
if (heightUnitsLC->itemText(j) == qt_("Total Height"))
heightUnitsLC->setCurrentItem(j);
}
}