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

QMainWindow::takeCentralWidget() seg faulting when central widget is not set

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • 5.6.3, 5.7.2
    • 5.7.0
    • Widgets: Main Window
    • None
    • Linux, gcc.

      Calling QMainWindow::takeCentralWidget() when no central widget is set makes the application crash.

      It would be better to handle this more gently and return null instead.

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

            andre André Somers
            vivaladav Davide Coppola
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes