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

QApplication::topLevelWidgets Crashes

    XMLWordPrintable

Details

    • Windows

    Description

      Call QApplication::topLevelWidgets() crashes.

      local stack:

      the function is:

      ```cpp
      QWidgetList QApplication::topLevelWidgets()
      {
          QWidgetList list;
          QWidgetList all = allWidgets();

          for (QWidgetList::ConstIterator it = all.constBegin(), cend = all.constEnd(); it != cend; ++it) 

      {         QWidget *w = *it;         if (w->isWindow() && w->windowType() != Qt::Desktop)             list.append(w);     }

          return list;
      }
      ```

       

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            tonghao.yuan Tonghao Yuan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes