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

QtStartUpFunction is written as QtCleanUpFunction

    XMLWordPrintable

Details

    • All
    • 408799de6 (dev), 1c359e6ea (6.6), f0f581ffe (6.5), 9743f4adb (tqtc/lts-6.2)

    Description

      I'm not entirely sure if this is actually a typo or not, but let me point it out just to make sure it's not getting missed.

      In the file qcoreapplication.cpp, there's a function called qt_call_pre_routines(), which basically calls a list of QtStartUpFunctions, as the name suggests.
      It takes a list of QtStartUpFunctions from preRList and loops through it with for loop. 
      However, it's taking each element as a type of QtCleanUpFunction, not QtStartUpFunction.
      If this is actually written as intended, perhaps adding a comment to the code would help for understanding.

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            cnn Qt Core & Network
            mikio_hirai Mikio Hirai
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: