summaryrefslogtreecommitdiffstats
path: root/tools/designer/plugins/cppeditor/sourcetemplateinterfaceimpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/designer/plugins/cppeditor/sourcetemplateinterfaceimpl.cpp')
-rw-r--r--tools/designer/plugins/cppeditor/sourcetemplateinterfaceimpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/designer/plugins/cppeditor/sourcetemplateinterfaceimpl.cpp b/tools/designer/plugins/cppeditor/sourcetemplateinterfaceimpl.cpp
index a9ae3b7ed..c412505a9 100644
--- a/tools/designer/plugins/cppeditor/sourcetemplateinterfaceimpl.cpp
+++ b/tools/designer/plugins/cppeditor/sourcetemplateinterfaceimpl.cpp
@@ -76,7 +76,7 @@ static TQString generateMainCppCode( const TQString &formname, const TQString &i
code += " TQApplication a( argc, argv );\n";
code += " " + formname + " w;\n";
code += " w.show();\n";
- code += " a.connect( &a, SIGNAL( lastWindowClosed() ), &a, SLOT( tquit() ) );\n";
+ code += " a.connect( &a, SIGNAL( lastWindowClosed() ), &a, SLOT( quit() ) );\n";
code += " return a.exec();\n";
code += "}\n";
return code;