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

Mike Fenton mike at staikos.net
Thu Nov 27 15:10:09 CET 2008


SVN commit 889743 by fenton:

Warning cleanup.


 M  +1 -1      scalarselector.cpp  


--- branches/work/kst/portto4/kst/src/widgets/scalarselector.cpp #889742:889743
@@ -76,7 +76,7 @@
     // Value typed in.
     existingScalar = false;
   } else {
-    if (Scalar* scalar = qVariantValue<Scalar*>(_scalar->itemData(_scalar->findText(_scalar->currentText())))) {
+    if (qVariantValue<Scalar*>(_scalar->itemData(_scalar->findText(_scalar->currentText())))) {
       existingScalar = true;
     } else {
       // Default Value.  Doesn't exist as scalar yet.


More information about the Kst mailing list