[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/lib/kotext
From:       Thorsten Zachmann <t.zachmann () zagge ! de>
Date:       2006-02-08 16:36:09
Message-ID: 1139416569.441523.22380.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 507142 by zachmann:

o Fix wrong slot signature


 M  +6 -1      KoParagDia.cpp  
 M  +1 -0      KoParagDia.h  


--- trunk/koffice/lib/kotext/KoParagDia.cpp #507141:507142
@@ -935,7 +935,7 @@
     eSpacingPercent = new KIntNumInput( 100, spacingFrame );
     eSpacingPercent->setRange( 0, 1000, 10, false );
     eSpacingPercent->setSuffix( " %" );
-    connect( eSpacingPercent, SIGNAL( valueChanged( int ) ), this, SLOT( spacingChanged( double ) ) );
+    connect( eSpacingPercent, SIGNAL( valueChanged( int ) ), this, SLOT( spacingChanged( int ) ) );
     
     sSpacingStack->addWidget( eSpacing );
     sSpacingStack->addWidget( eSpacingPercent );
@@ -1170,6 +1170,11 @@
     prev1->setSpacing( _val );
 }
 
+void KoIndentSpacingWidget::spacingChanged( int _val )
+{
+    prev1->setSpacing( _val / 100.0 );
+}
+
 void KoIndentSpacingWidget::beforeChanged( double _val )
 {
     prev1->setBefore( KoUnit::fromUserValue( _val, m_unit ) );
--- trunk/koffice/lib/kotext/KoParagDia.h #507141:507142
@@ -129,6 +129,7 @@
     void firstChanged( double );
     void spacingActivated( int );
     void spacingChanged( double );
+    void spacingChanged( int );
     void beforeChanged( double );
     void afterChanged( double );
 private:
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic