kscreensaver: replace random() with KRandom::random()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2016-04-22 23:12:37 +00:00
parent 470b92232d
commit af85976132

View file

@ -410,7 +410,7 @@ void Fountain::paintGL ()
particle[loop].g=colors[col][1]; // Select Green From Color Table
particle[loop].b=colors[col][2]; // Select Blue From Color Table
particle[loop].size=size;
if ((1+(random()%20)) == 10)
if ((1+(KRandom::random()%20)) == 10)
{
// Explode
particle[loop].active=true; // Make All The Particles Active