summaryrefslogtreecommitdiffstats
path: root/kturtle/src
diff options
context:
space:
mode:
Diffstat (limited to 'kturtle/src')
-rw-r--r--kturtle/src/executer.cpp2
-rw-r--r--kturtle/src/main.cpp2
2 files changed, 2 insertions, 2 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 );
}
diff --git a/kturtle/src/main.cpp b/kturtle/src/main.cpp
index d5810c6b..dd795c6d 100644
--- a/kturtle/src/main.cpp
+++ b/kturtle/src/main.cpp
@@ -89,7 +89,7 @@ int main(int argc, char **argv)
"astals11 # terra.es");
TDECmdLineArgs::init(argc, argv, &about);
TDECmdLineArgs::addCmdLineOptions( options );
- KApplication app;
+ TDEApplication app;
MainWindow *mainwindow = 0;
if ( app.isRestored() )