summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/examples/application/ApplicationWindow.java
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib/examples/application/ApplicationWindow.java')
-rw-r--r--qtjava/javalib/examples/application/ApplicationWindow.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/qtjava/javalib/examples/application/ApplicationWindow.java b/qtjava/javalib/examples/application/ApplicationWindow.java
index f214d240..a169454d 100644
--- a/qtjava/javalib/examples/application/ApplicationWindow.java
+++ b/qtjava/javalib/examples/application/ApplicationWindow.java
@@ -125,7 +125,7 @@ public class ApplicationWindow extends TQMainWindow {
connect(fileCloseAction, SIGNAL("activated()"), this, SLOT("close()"));
fileQuitAction = new TQAction("Quit", "&Quit", new TQKeySequence(CTRL+Key_Q), this, "quit", false);
- connect(fileQuitAction, SIGNAL("activated()"), qApp(), SLOT("closeAllWindows()"));
+ connect(fileQuitAction, SIGNAL("activated()"), tqApp(), SLOT("closeAllWindows()"));
// populate a tool bar with some actions