diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2011-06-23 14:11:50 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-07-11 12:43:52 +0200 |
commit | f9035587b98ac5dc9491e642b8ec84470ec03f0e (patch) | |
tree | f91962125963ee91ff6d13fa029606966b00a272 /src/network | |
parent | 915ec02cadcd6e3ca423968a094a97ad417783a1 (diff) |
Replace try/catch blocks in favour of destructors in the event loop.
This has two direct benefits:
1) compiles regardless of -fno-exceptions: no need for #ifndef
QT_NO_EXCEPTIONS or QT_TRY/QT_CATCH
2) no QT_RETHROW either, which means the backtrace of an application
crashing due to an uncaught exception will include the actual throw
point.
Change-Id: I18e5500e121bfa81431ef16699df96d962794f0e
Reviewed-on: http://codereview.qt.nokia.com/663
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Olivier Goffart <olivier.goffart@nokia.com>
Diffstat (limited to 'src/network')
0 files changed, 0 insertions, 0 deletions