summaryrefslogtreecommitdiffstats
path: root/kturtle/src/executer.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-20 00:18:33 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-20 00:18:33 -0600
commit92ac6833a97641f981e900805d1997f9a2192147 (patch)
treefe782cb92feb50c398a8d73426bac79a7fb29869 /kturtle/src/executer.cpp
parent634845c7a257ece46caaf3d46d8e28c8c091cbf4 (diff)
downloadtdeedu-92ac6833a97641f981e900805d1997f9a2192147.tar.gz
tdeedu-92ac6833a97641f981e900805d1997f9a2192147.zip
Rename KApplication to TDEApplication to avoid conflicts with KDE4
Diffstat (limited to 'kturtle/src/executer.cpp')
-rw-r--r--kturtle/src/executer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kturtle/src/executer.cpp b/kturtle/src/executer.cpp
index e50c64a5..dd8ae8f2 100644
--- a/kturtle/src/executer.cpp
+++ b/kturtle/src/executer.cpp
@@ -894,7 +894,7 @@ void Executer::execRandom(TreeNode* node)
if ( !checkParameterType(node, numberValue, 5060) ) return;
double x = nodeX->getValue().Number();
double y = nodeY->getValue().Number();
- double r = (double)( KApplication::random() ) / RAND_MAX;
+ double r = (double)( TDEApplication::random() ) / RAND_MAX;
node->setValue( r * ( y - x ) + x );
}