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

Change interval type in QTimer to qint64/QDeadlineTimer

    XMLWordPrintable

Details

    • 8
    • a25ba47c2b820117bdc60ba6bc772d6ea4093a4c
    • Foundation PM Prioritized, Foundation Sprint 64, Foundation Sprint 65, Foundation Sprint 66, Foundation Sprint 67, Foundation Sprint 68, Foundation Sprint 69, Foundation Sprint 70, Foundation Sprint 71, Foundation Sprint 72, Foundation Sprint 73

    Description

      Now QTimer::start(int msec) accepts only int values which corresponds to ~ 24 days as maximum time interval. Please change interval type in QTimer to qint64 to allow more easily create schedulers with big time intervals - months, etc.

      QTimer::start(std::chrono::milliseconds msec) does not work for this as value converted to int inside it, which is wrong I think.

      Attachments

        Issue Links

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

          Activity

            People

              cnn Qt Core & Network
              jirauser39314 user-45b5b (Inactive)
              Vladimir Minenko Vladimir Minenko
              Alex Blasche Alex Blasche
              Votes:
              4 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There is 1 open Gerrit change