QNetworkReplyHttpImpl: fix misuse of QDateTime::addSecs()
authorDavid Faure <david.faure@kdab.com>
Mon, 7 Apr 2014 12:02:29 +0000 (14:02 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 8 Apr 2014 03:16:58 +0000 (05:16 +0200)
commit6ea574d4461199e036fb9cd05b1bbdb0f93c390c
tree1290c4f62c95f652524671ae9a353d12b3cbfed2
parentfbeb43135feadbdfcd48b6717b5cb4017325cd1d
QNetworkReplyHttpImpl: fix misuse of QDateTime::addSecs()

QDateTime::addSecs() is a const function and returns a new QDateTime with
the given seconds added, thus the current statement had no effect.

Found by applying Q_REQUIRED_RESULT in dev branch.

Change-Id: Id712334f91e0adb40bafc23470bf46479334c81a
Reviewed-by: Richard J. Moore <rich@kde.org>
src/network/access/qnetworkreplyhttpimpl.cpp