summaryrefslogtreecommitdiffstats
path: root/kturtle/src/canvas.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kturtle/src/canvas.cpp')
-rw-r--r--kturtle/src/canvas.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kturtle/src/canvas.cpp b/kturtle/src/canvas.cpp
index 5d14ead3..57bbc923 100644
--- a/kturtle/src/canvas.cpp
+++ b/kturtle/src/canvas.cpp
@@ -78,7 +78,7 @@ const double DEG2RAD = 3.14159265358979323846/180;
Canvas::Canvas(TQWidget *parent, const char *name) : TQCanvasView(0, parent, name)
{
// Create a new canvas for this view
- canvas = new TQCanvas(TQT_TQOBJECT(parent));
+ canvas = new TQCanvas(parent);
canvas->setAdvancePeriod(250); // refresh-rate in [ms]
// set initial values