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

Windows: Uninitialized value when calling GetWindowPlacement

    XMLWordPrintable

    Details

    • Commits:
      c7634050d9675006ceb4dd0c17846d18ec0f24c5

      Description

      According to documentation:
      http://msdn.microsoft.com/en-us/library/windows/desktop/ms633518%28v=vs.85%29.aspx

      Before calling GetWindowPlacement, set the length member to sizeof(WINDOWPLACEMENT). GetWindowPlacement fails if lpwndpl-> length is not set correctly.

      In Qt 4.x, this is uninitialized in QWidgetPrivate::setGeometry_sys()

        Attachments

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

          Activity

            People

            Assignee:
            kleint Friedemann Kleint
            Reporter:
            poikelin Joni Poikelin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes