summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qcoreapplication.cpp
diff options
context:
space:
mode:
authorDavid Faure <david.faure@kdab.com>2014-03-13 21:27:05 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-04-11 23:02:36 +0200
commitb526e44a37776861b187de62ebc4e21ba4c67cc4 (patch)
tree8b40b9e8e2007d57635d9c54d1c724f95ba354b2 /src/corelib/kernel/qcoreapplication.cpp
parent4c1e15548a288455a5a62dcefacd7c9a44736346 (diff)
QtCore: Use Q_REQUIRED_RESULT in many more places
gcc doesn't yet warn when a non-POD return datatype is unused, but clang does, at least. This detected two bugs in qtbase due to the bad QDate method naming, and will help application developers to avoid this trap too. Change-Id: I106c1a32d2c6fc8d02f57beb7b61940605c80d76 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src/corelib/kernel/qcoreapplication.cpp')
0 files changed, 0 insertions, 0 deletions