summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/tutorial/t12/Tut12.java
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib/tutorial/t12/Tut12.java')
-rw-r--r--qtjava/javalib/tutorial/t12/Tut12.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/qtjava/javalib/tutorial/t12/Tut12.java b/qtjava/javalib/tutorial/t12/Tut12.java
index 4bf347fd..f0044836 100644
--- a/qtjava/javalib/tutorial/t12/Tut12.java
+++ b/qtjava/javalib/tutorial/t12/Tut12.java
@@ -5,7 +5,7 @@ public class Tut12 extends TQWidget {
TQPushButton quit = new TQPushButton("&Quit", this, "quit");
quit.setFont(new TQFont("Times", 18, TQFont.Bold, false));
- connect(quit, SIGNAL("clicked()"), qApp(), SLOT("quit()"));
+ connect(quit, SIGNAL("clicked()"), tqApp(), SLOT("quit()"));
LCDRange angle = new LCDRange("ANGLE", this, "angle");
angle.setRange(5, 70);