[Kst] kdeextragear-2/kst/kst
Rick Chern
rchern at interchange.ubc.ca
Fri Jul 16 23:49:21 CEST 2004
CVS commit by rchern:
Don't display trailing zeros in plot marker list
M +2 -2 kstplotdialog_i.cpp 1.57
--- kdeextragear-2/kst/kst/kstplotdialog_i.cpp #1.56:1.57
@@ -816,5 +816,5 @@ void KstPlotDialogI::updatePlotMarkers()
for (QValueList<double>::ConstIterator it = plot->plotMarkers().begin(); it != plot->plotMarkers().end(); it++) {
QString stringnum;
- stringnum.setNum(*it, 'f', 64);
+ stringnum.setNum(*it, 'g', 64);
PlotMarkerList->insertItem(stringnum);
}
@@ -1076,5 +1076,5 @@ void KstPlotDialogI::addPlotMarker() {
uint i = 0;
QString stringnum;
- stringnum.setNum(newMarkerVal, 'f', 64);
+ stringnum.setNum(newMarkerVal, 'g', 64);
while ((i < PlotMarkerList->count()) && (PlotMarkerList->text(i).toDouble() < newMarkerVal)) {
i++;
More information about the Kst
mailing list