mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32:50 +00:00
kscreensaver: replace random() with KRandom::random()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
470b92232d
commit
af85976132
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue