Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
4.7.0
-
None
-
Linux
Description
When first created, a QElapsedTimer call to isValid() retuns true even though the QElapsedTimer is invalid. Everything is fine under Windows. Other operating systems untested. To reproduce:
QElapsedTimer m_tTimer; if ( m_tTimer.isValid() ) qDebug() << QString("Time elapsed: %1").arg(m_tTimer.elapsed());
Attachments
Issue Links
- relates to
-
QTBUG-37450 Unitialized memory used in QElapsedTimer in QNetworkReplyImplPrivate::_q_copyReadyRead() NetworkReplyHttpImplPrivate::_q_cacheLoadReadyRead() , tst_qnetworkreply
- Reported