diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-14 22:33:41 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-14 22:33:41 -0600 |
commit | 0f92dd542b65bc910caaf190b7c623aa5158c86a (patch) | |
tree | 120ab7e08fa0ffc354ef58d100f79a33c92aa6e6 /examples/textedit | |
parent | d796c9dd933ab96ec83b9a634feedd5d32e1ba3f (diff) | |
download | tqt3-0f92dd542b65bc910caaf190b7c623aa5158c86a.tar.gz tqt3-0f92dd542b65bc910caaf190b7c623aa5158c86a.zip |
Fix native TQt3 accidental conversion to tquit
Diffstat (limited to 'examples/textedit')
-rw-r--r-- | examples/textedit/main.cpp | 2 | ||||
-rw-r--r-- | examples/textedit/textedit.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/textedit/main.cpp b/examples/textedit/main.cpp index db2ad21a4..31b5412a3 100644 --- a/examples/textedit/main.cpp +++ b/examples/textedit/main.cpp @@ -17,6 +17,6 @@ int main( int argc, char ** argv ) mw->setCaption( "Richtext Editor" ); mw->resize( 640, 800 ); mw->show(); - a.connect( &a, SIGNAL( lastWindowClosed() ), &a, SLOT( tquit() ) ); + a.connect( &a, SIGNAL( lastWindowClosed() ), &a, SLOT( quit() ) ); return a.exec(); } diff --git a/examples/textedit/textedit.cpp b/examples/textedit/textedit.cpp index a64c9d94c..b25074788 100644 --- a/examples/textedit/textedit.cpp +++ b/examples/textedit/textedit.cpp @@ -315,7 +315,7 @@ void TextEdit::fileClose() void TextEdit::fileExit() { - qApp->tquit(); + qApp->quit(); } void TextEdit::editUndo() |