[Kst] branches/work/kst/portto4/kst/src/libkstapp

Mike Fenton mike at staikos.net
Tue Feb 26 21:28:31 CET 2008


SVN commit 779700 by fenton:

Fix updating of Apply button on Label tab.


 M  +0 -1      circleitem.cpp  
 M  +4 -4      labeltab.cpp  


--- branches/work/kst/portto4/kst/src/libkstapp/circleitem.cpp #779699:779700
@@ -48,7 +48,6 @@
 
 void CircleItem::creationPolygonChanged(View::CreationEvent event) {
   if (event == View::MousePress) {
-    qDebug() << "Change here";
     const QPolygonF poly = mapFromScene(parentView()->creationPolygon(View::MousePress));
     setPos(poly.first().x(), poly.first().y());
     setViewRect(QRectF(0.0, 0.0, 0.0, sizeOfGrip().height()));
--- branches/work/kst/portto4/kst/src/libkstapp/labeltab.cpp #779699:779700
@@ -22,10 +22,10 @@
   QFont font;
   setGlobalFont(font);
 
-  connect(_topFamily, SIGNAL(textChanged(const QString&)), this, SIGNAL(modified()));
-  connect(_leftFamily, SIGNAL(textChanged(const QString&)), this, SIGNAL(modified()));
-  connect(_bottomFamily, SIGNAL(textChanged(const QString&)), this, SIGNAL(modified()));
-  connect(_rightFamily, SIGNAL(textChanged(const QString&)), this, SIGNAL(modified()));
+  connect(_topLabel, SIGNAL(textChanged(const QString&)), this, SIGNAL(modified()));
+  connect(_leftLabel, SIGNAL(textChanged(const QString&)), this, SIGNAL(modified()));
+  connect(_bottomLabel, SIGNAL(textChanged(const QString&)), this, SIGNAL(modified()));
+  connect(_rightLabel, SIGNAL(textChanged(const QString&)), this, SIGNAL(modified()));
 
   connect(_topFontSize, SIGNAL(valueChanged(int)), this, SIGNAL(modified()));
   connect(_leftFontSize, SIGNAL(valueChanged(int)), this, SIGNAL(modified()));


More information about the Kst mailing list