Commit 64e82427 authored by John Harwell's avatar John Harwell
Browse files

With Qt5, the main window size was incorrect when a scene was restored and was...

With Qt5, the main window size was incorrect when a scene was restored and was limited to a height of 640.  In WuQtUtilities::moveAndSizeWindow() the method QDesktopWidget::geometry() was called to get the maximum width and height.  The "geometry()" method is actually in the base class of QWidget and is probably the wrong method to call.  For Qt5, QDesktopWidget::availableGeometry() is now used.  It is left unchanged for Qt4 since it is working with Qt4.
parent d3d998b6
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment