@@ -49,11 +49,15 @@ void ShellView::onWidthChanged(int w)
49 // The QResizeEvent we get still has the size of the first screen and since the resize move is triggered
49 // The QResizeEvent we get still has the size of the first screen and since the resize move is triggered
50 // from the resize event handler, the root item doesn't get resized.
50 // from the resize event handler, the root item doesn't get resized.
51 // TODO: Confirm the Qt bug and submit a patch upstream
51 // TODO: Confirm the Qt bug and submit a patch upstream
52− rootObject()->setWidth(w);
53+ rootObject()->setWidth(w);
55void ShellView::onHeightChanged(int h)
57void ShellView::onHeightChanged(int h)
57 // See comment in ShellView::onWidthChanged()
59 // See comment in ShellView::onWidthChanged()
58− rootObject()->setHeight(h);
61+ rootObject()->setHeight(h);