mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 21:40:19 +00:00
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:
parent
7b6815810d
commit
715685a31f
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user