[EMAIL PROTECTED] wrote:
> +* broken signal/slot connection:
> +  Object::connect: No such signal
> LengthCombo::selectionChanged(LyXLength::UNIT) +  Object::connect:  (sender
> name:   'unitCO')
> +  Object::connect:  (receiver name: 'QVSpaceUi')

The attached patch fixes that. I'll commit soon.

Jürgen

BTW seems that deleting any kind of inset crashes LyX currently.
Index: src/frontends/qt4/QExternalDialog.C
===================================================================
--- src/frontends/qt4/QExternalDialog.C	(Revision 15873)
+++ src/frontends/qt4/QExternalDialog.C	(Arbeitskopie)
@@ -65,7 +65,7 @@ QExternalDialog::QExternalDialog(QExtern
 	connect( extraED, SIGNAL( textChanged(const QString&) ), this, SLOT( extraChanged(const QString&) ) );
 	connect( extraFormatCO, SIGNAL( activated(const QString&) ), this, SLOT( formatChanged(const QString&) ) );
 	connect( widthUnitCO, SIGNAL( activated(int) ), this, SLOT( widthUnitChanged() ) );
-	connect( heightUnitCO, SIGNAL( selectionChanged(LyXLength::UNIT) ), this, SLOT( change_adaptor() ) );
+	connect( heightUnitCO, SIGNAL( selectionChanged(lyx::LyXLength::UNIT) ), this, SLOT( change_adaptor() ) );
 	connect( displayCB, SIGNAL( stateChanged(int) ), this, SLOT( change_adaptor() ) );
 	connect( displayscaleED, SIGNAL( textChanged(const QString&) ), this, SLOT( change_adaptor() ) );
 	connect( angleED, SIGNAL( textChanged(const QString&) ), this, SLOT( change_adaptor() ) );
Index: src/frontends/qt4/QVSpaceDialog.C
===================================================================
--- src/frontends/qt4/QVSpaceDialog.C	(Revision 15873)
+++ src/frontends/qt4/QVSpaceDialog.C	(Arbeitskopie)
@@ -46,7 +46,7 @@ QVSpaceDialog::QVSpaceDialog(QVSpace * f
     connect( valueLE, SIGNAL( textChanged(const QString&) ), this, SLOT( change_adaptor() ) );
     connect( spacingCO, SIGNAL( activated(int) ), this, SLOT( enableCustom(int) ) );
     connect( keepCB, SIGNAL( clicked() ), this, SLOT( change_adaptor() ) );
-    connect( unitCO, SIGNAL( selectionChanged(LyXLength::UNIT) ), this, SLOT( change_adaptor() ) );
+    connect( unitCO, SIGNAL( selectionChanged(lyx::LyXLength::UNIT) ), this, SLOT( change_adaptor() ) );
 
 	valueLE->setValidator(unsignedLengthValidator(valueLE));
 }
Index: src/frontends/qt4/QBoxDialog.C
===================================================================
--- src/frontends/qt4/QBoxDialog.C	(Revision 15873)
+++ src/frontends/qt4/QBoxDialog.C	(Arbeitskopie)
@@ -39,10 +39,10 @@ QBoxDialog::QBoxDialog(QBox * form)
 		form, SLOT(slotClose()));
 
     connect( widthED, SIGNAL( textChanged(const QString&) ), this, SLOT( change_adaptor() ) );
-    connect( widthUnitsLC, SIGNAL( selectionChanged(LyXLength::UNIT) ), this, SLOT( change_adaptor() ) );
+    connect( widthUnitsLC, SIGNAL( selectionChanged(lyx::LyXLength::UNIT) ), this, SLOT( change_adaptor() ) );
     connect( valignCO, SIGNAL( highlighted(const QString&) ), this, SLOT( change_adaptor() ) );
     connect( heightED, SIGNAL( textChanged(const QString&) ), this, SLOT( change_adaptor() ) );
-    connect( heightUnitsLC, SIGNAL( selectionChanged(LyXLength::UNIT) ), this, SLOT( change_adaptor() ) );
+    connect( heightUnitsLC, SIGNAL( selectionChanged(lyx::LyXLength::UNIT) ), this, SLOT( change_adaptor() ) );
     connect( restorePB, SIGNAL( clicked() ), this, SLOT( restoreClicked() ) );
     connect( typeCO, SIGNAL( activated(int) ), this, SLOT( change_adaptor() ) );
     connect( typeCO, SIGNAL( activated(int) ), this, SLOT( typeChanged(int) ) );

Reply via email to