get rid of QT3_SUPPORT and some cleanup

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14766 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2006-08-17 09:01:06 +00:00
parent 7774e06950
commit 6e9dd92302

View File

@ -117,7 +117,7 @@ void QTabularDialog::on_booktabsRB_toggled()
void QTabularDialog::topspace_changed()
{
switch(topspaceCO->currentItem()) {
switch(topspaceCO->currentIndex()) {
case 0: {
form_->controller().set(LyXTabular::SET_TOP_SPACE, "");
topspaceED->setEnabled(false);
@ -147,7 +147,7 @@ void QTabularDialog::topspace_changed()
void QTabularDialog::bottomspace_changed()
{
switch(bottomspaceCO->currentItem()) {
switch(bottomspaceCO->currentIndex()) {
case 0: {
form_->controller().set(LyXTabular::SET_BOTTOM_SPACE, "");
bottomspaceED->setEnabled(false);
@ -177,7 +177,7 @@ void QTabularDialog::bottomspace_changed()
void QTabularDialog::interlinespace_changed()
{
switch(interlinespaceCO->currentItem()) {
switch(interlinespaceCO->currentIndex()) {
case 0: {
form_->controller().set(LyXTabular::SET_INTERLINE_SPACE, "");
interlinespaceED->setEnabled(false);