summaryrefslogtreecommitdiffstats
path: root/examples/mdi/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/mdi/main.cpp')
-rw-r--r--examples/mdi/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/mdi/main.cpp b/examples/mdi/main.cpp
index 1bda1da23..5892ac983 100644
--- a/examples/mdi/main.cpp
+++ b/examples/mdi/main.cpp
@@ -16,7 +16,7 @@ int main( int argc, char ** argv ) {
a.setMainWidget(mw);
mw->setCaption( "TQt Example - Multiple Documents Interface (MDI)" );
mw->show();
- a.connect( &a, SIGNAL(lastWindowClosed()), &a, SLOT(tquit()) );
+ a.connect( &a, SIGNAL(lastWindowClosed()), &a, SLOT(quit()) );
int res = a.exec();
return res;
}