mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-30 05:12:40 +00:00
get rid of QT3_SUPPORT and some cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14755 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
df076c43f4
commit
d1fd1a1f97
@ -43,12 +43,12 @@ QMathMatrixDialog::QMathMatrixDialog(QMathMatrix * form)
|
||||
{
|
||||
setupUi(this);
|
||||
|
||||
setCaption(qt_("LyX: Insert Matrix"));
|
||||
setWindowTitle(qt_("LyX: Insert Matrix"));
|
||||
|
||||
table->setMinimumSize(100, 100);
|
||||
rowsSB->setValue(2);
|
||||
columnsSB->setValue(2);
|
||||
valignCO->setCurrentItem(1);
|
||||
valignCO->setCurrentIndex(1);
|
||||
|
||||
connect(okPB, SIGNAL(clicked()),
|
||||
this, SLOT(slotOK()));
|
||||
@ -92,7 +92,7 @@ void QMathMatrixDialog::change_adaptor()
|
||||
|
||||
void QMathMatrixDialog::slotOK()
|
||||
{
|
||||
char const c = v_align_c[valignCO->currentItem()];
|
||||
char const c = v_align_c[valignCO->currentIndex()];
|
||||
string const sh = fromqstr(halignED->text());
|
||||
int const nx = int(columnsSB->value());
|
||||
int const ny = int(rowsSB->value());
|
||||
|
Loading…
Reference in New Issue
Block a user