summaryrefslogtreecommitdiffstats
path: root/src/dialogs/qdialog.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-14 22:33:41 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-14 22:33:41 -0600
commit0f92dd542b65bc910caaf190b7c623aa5158c86a (patch)
tree120ab7e08fa0ffc354ef58d100f79a33c92aa6e6 /src/dialogs/qdialog.cpp
parentd796c9dd933ab96ec83b9a634feedd5d32e1ba3f (diff)
downloadtqt3-0f92dd542b65bc910caaf190b7c623aa5158c86a.tar.gz
tqt3-0f92dd542b65bc910caaf190b7c623aa5158c86a.zip
Fix native TQt3 accidental conversion to tquit
Diffstat (limited to 'src/dialogs/qdialog.cpp')
-rw-r--r--src/dialogs/qdialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dialogs/qdialog.cpp b/src/dialogs/qdialog.cpp
index 6bd440def..9ef43e998 100644
--- a/src/dialogs/qdialog.cpp
+++ b/src/dialogs/qdialog.cpp
@@ -456,7 +456,7 @@ int TQDialog::exec()
last window closed, the TQApplication::lastWindowClosed() signal is
emitted.
- \sa accept(), reject(), TQApplication::mainWidget(), TQApplication::tquit()
+ \sa accept(), reject(), TQApplication::mainWidget(), TQApplication::quit()
*/
void TQDialog::done( int r )
@@ -487,7 +487,7 @@ void TQDialog::done( int r )
emit qApp->lastWindowClosed();
}
if ( isMain )
- qApp->tquit();
+ qApp->quit();
else if ( testWFlags(WDestructiveClose) ) {
clearWFlags(WDestructiveClose);
deleteLater();