Fix qmloscilloscope linking issue on some envs

Change-Id: Iab45f95e8ff0faacc5cf50fdf052bf2c69d7988a
Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
This commit is contained in:
Miikka Heikkinen 2014-10-31 14:05:21 +02:00
parent 8cebfaed90
commit 8a7c69cb94
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ void DataSource::generateData(int cacheCount, int rowCount, int columnCount,
float colWave = float(qSin((2.0 * M_PI * colMod) - (1.0 / 2.0 * M_PI)) + 1.0);
float y = (colWave * ((float(qSin(rowColWaveAngleMul * colMod) + 1.0))))
* rowColWaveMul
+ (0.15f * float(rand()) / float(RAND_MAX)) * yRangeMod;
+ (0.15f * float(qrand()) / float(RAND_MAX)) * yRangeMod;
int index = k + cacheIndexAdjustment;
if (index >= columnCount) {