From d1fd1a1f97ff1aa159ba619595bbb355ddcdc680 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Thu, 17 Aug 2006 08:57:44 +0000 Subject: [PATCH] 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 --- src/frontends/qt4/QMathMatrixDialog.C | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/frontends/qt4/QMathMatrixDialog.C b/src/frontends/qt4/QMathMatrixDialog.C index c178782409..b432eaca02 100644 --- a/src/frontends/qt4/QMathMatrixDialog.C +++ b/src/frontends/qt4/QMathMatrixDialog.C @@ -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());