summaryrefslogtreecommitdiffstats
path: root/examples/demo/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/demo/main.cpp')
-rw-r--r--examples/demo/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/demo/main.cpp b/examples/demo/main.cpp
index 295847ac5..d2d86ec3e 100644
--- a/examples/demo/main.cpp
+++ b/examples/demo/main.cpp
@@ -59,7 +59,7 @@
static void qdemo_set_caption( CategoryInterface *c, int i )
{
- TQWidget *w = qApp->mainWidget();
+ TQWidget *w = tqApp->mainWidget();
if ( !w )
return;
TQString title = Frame::tr( "TQt Demo Collection" );