diff options
author | David Faure <david.faure@kdab.com> | 2014-04-07 14:03:16 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-04-08 05:16:58 +0200 |
commit | d2f5fdb20d30638c82f6d26fff92b73b84f1e1b2 (patch) | |
tree | b844149f6725069eafe592f254ae7b6424d42fb7 /dist/changes-5.2.1 | |
parent | 6ea574d4461199e036fb9cd05b1bbdb0f93c390c (diff) |
QCUPSSupport: fix misuse of QDateTime::addDays()
QDateTime::addDays() is a const function and returns a new QDateTime with
the given days added, thus the current statement had no effect.
Found by applying Q_REQUIRED_RESULT in dev branch.
Change-Id: I1b061619d45d7806feaa2bf9fb6d9f0b43d63def
Reviewed-by: Richard J. Moore <rich@kde.org>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'dist/changes-5.2.1')
0 files changed, 0 insertions, 0 deletions