Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-115447

QElapsedTimer::hasExpired should have chrono overload

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4: Low
    • None
    • 6.6.0 Beta2
    • Core: Date/Time
    • None
    • 5
    • 669470e2b (dev), 392131feb (6.6)

    Description

      It would be nice, if QElapsedTimer methods will accept std::chrono types,
      like QTimer do.

      And will have overload like this:

      bool QElapsedTimer::hasExpired(std::chrono::milliseconds timeout) const
      

      Attachments

        For Gerrit Dashboard: QTBUG-115447
        # Subject Branch Project Status CR V

        Activity

          People

            cnn Qt Core & Network
            evgeniy_dushistov evgeniy_dushistov
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes