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

Crash on setWindowFlags()

    XMLWordPrintable

Details

    Description

      The following app crashes:

      #include <QWidget>
      #include <QApplication>
      #include <QDialog>
      #include <QVBoxLayout>

      int main(int argc, char **argv)
      {
      QApplication a(argc, argv);
      QWidget w;
      QDialog d;
      d.setWindowFlags(d.windowFlags() & ~Qt::Window);
      QVBoxLayout *l = new QVBoxLayout(&w);
      l->addWidget(&d);
      w.show();
      return a.exec();
      }

      Attachments

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

        Activity

          People

            bjnilsen Bjørn Erik Nilsen
            rve Anders Bakken
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes