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

CRASH DURING SETPARENT

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 4.8.6
    • Widgets: Layout
    • None
    • Windows XP 32 bit.
      Microsoft windows SDK 7.1.7600.0.30514.
    • a85849604239034742c47d5be628122bae825c9e

    Description

      class CMainWidget : public QWidget
      Have ui
      QTabWidget
      When we create layout in constructor of CMainWidget and try to set layout for some tab application crashed in qwidget_win.cpp:637:
      foreach (QWidget *w, nativeParent->d_func()>extra>oleDropWidgets) {
      if (w && q->isAncestorOf(w))

      { registeredDropChildren.push_back(w); w->setAttribute(Qt::WA_DropSiteRegistered, false); }

      }
      But: nativeParent->d_func()->extra is NULL.

      Attachments

        Issue Links

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

          Activity

            People

              Unassigned Unassigned
              sat4uafm Slava Tarasyuk
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes