[Kst] extragear/graphics/kst/src
Barth Netterfield
netterfield at astro.utoronto.ca
Sat Mar 3 01:08:12 CET 2007
SVN commit 638697 by netterfield:
Make the changefiledialog's url selector able to handle dirfiles.
M +2 -0 libkstapp/kstchangefiledialog_i.cpp
M +2 -3 libkstmath/kstimage.cpp
--- trunk/extragear/graphics/kst/src/libkstapp/kstchangefiledialog_i.cpp #638696:638697
@@ -57,6 +57,8 @@
connect(_duplicateSelected, SIGNAL(toggled(bool)), _duplicateDependents, SLOT(setEnabled(bool)));
_dataFile->completionObject()->setDir(QDir::currentDirPath());
+ _dataFile->setMode(KFile::File | KFile::Directory | KFile::ExistingOnly);
+
_clearFilter->setPixmap(BarIcon("locationbar_erase"));
_duplicateDependents->setEnabled(_duplicateSelected->isChecked());
_first = true;
--- trunk/extragear/graphics/kst/src/libkstmath/kstimage.cpp #638696:638697
@@ -230,14 +230,13 @@
_ns_miny = MinY;
MinPosY = MinY > 0 ? MinY : yStepSize;
MinPosX = MinX > 0 ? MinX : xStepSize;
-
-
+
//recalculate the thresholds if necessary
if (_autoThreshold) {
_zLower = mp->minValue();
_zUpper = mp->maxValue();
}
-
+
//update the contour lines
if (hasContourMap()) {
double min = mp->minValue(), max = mp->maxValue();
More information about the Kst
mailing list