[Kst] branches/work/kst/portto4/kst/tests
George Staikos
staikos at kde.org
Mon Oct 1 22:20:29 CEST 2007
SVN commit 719746 by staikos:
minor cleanup
M +1 -6 testdatasource.cpp
--- branches/work/kst/portto4/kst/tests/testdatasource.cpp #719745:719746
@@ -23,12 +23,6 @@
#include <kstdatacollection.h>
#include <kstdataobjectcollection.h>
-#include <math.h>
-
-#ifndef INF
-double INF = 1.0/0.0;
-#endif
-
void TestDataSource::initTestCase() {
QSettings *settingsObject = new QSettings("kstdatarc", QSettings::IniFormat);
KstDataSource::setupOnStartup(settingsObject);
@@ -60,6 +54,7 @@
ts << "2.0" << endl;
ts << "1" << endl;
ts << ".2" << endl;
+ ts.flush();
KstDataSourcePtr dsp = KstDataSource::loadSource(tf.fileName());
More information about the Kst
mailing list