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

George Staikos staikos at kde.org
Tue Dec 4 12:55:25 CET 2007


SVN commit 744769 by staikos:

better fix - didn't notice this was using qt3support


 M  +4 -4      datarange.cpp  


--- branches/work/kst/portto4/kst/src/widgets/datarange.cpp #744768:744769
@@ -123,7 +123,7 @@
 
 
 bool DataRange::countFromEndDirty() const {
-  return _readToEnd->state() == QCheckBox::NoChange;
+  return _readToEnd->checkState() == Qt::PartiallyChecked;
 }
 
 
@@ -133,7 +133,7 @@
 
 
 bool DataRange::readToEndDirty() const {
-  return _readToEnd->state() == QCheckBox::NoChange;
+  return _readToEnd->checkState() == Qt::PartiallyChecked;
 }
 
 
@@ -148,7 +148,7 @@
 
 
 bool DataRange::doSkipDirty() const {
-  return _doSkip->state() == QCheckBox::NoChange;
+  return _doSkip->checkState() == Qt::PartiallyChecked;
 }
 
 
@@ -163,7 +163,7 @@
 
 
 bool DataRange::doFilterDirty() const {
-  return _doFilter->state() == QCheckBox::NoChange;
+  return _doFilter->checkState() == Qt::PartiallyChecked;
 }
 
 


More information about the Kst mailing list