diff options
author | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2009-12-21 10:35:50 (GMT) |
---|---|---|
committer | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2009-12-21 10:35:50 (GMT) |
commit | 072a571fc0c41610b76465d76eb635b959eaad37 (patch) | |
tree | 7639859c0bee7a933240da11bd187fbed26d2c08 /src/s60main | |
parent | 7956bfe376baddccaf1fd150ffc62cdd158c8030 (diff) | |
download | Qt-072a571fc0c41610b76465d76eb635b959eaad37.zip Qt-072a571fc0c41610b76465d76eb635b959eaad37.tar.gz Qt-072a571fc0c41610b76465d76eb635b959eaad37.tar.bz2 |
Forwarded return value from QtMainWrapper() to E32Main() exit code.
Previously only leaves from QtMainWrapper() were forwarded.
Task-number: QTBUG-6422
Reviewed-by: axis
Diffstat (limited to 'src/s60main')
-rw-r--r-- | src/s60main/qts60main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/s60main/qts60main.cpp b/src/s60main/qts60main.cpp index 9f2d8c4..8923fb9 100644 --- a/src/s60main/qts60main.cpp +++ b/src/s60main/qts60main.cpp @@ -52,7 +52,7 @@ GLDEF_C TInt E32Main() { CTrapCleanup *cleanupStack = q_check_ptr(CTrapCleanup::New()); TInt err = 0; - TRAP(err, QtMainWrapper()); + TRAP(err, err = QtMainWrapper()); delete cleanupStack; return err; |