1
0
Fork 0

Fixes for the sim-pit

* ensure the UI disappears with no user interaction
* comoile fix for GCC
This commit is contained in:
James Turner 2018-07-27 18:45:25 +01:00
parent d2c3ecace1
commit 7e3c1a1b1d
2 changed files with 3 additions and 1 deletions

View file

@ -111,7 +111,7 @@ void CanvasPaintedDisplay::buildElements()
// by walking their parent chain
m_rootElement->setParent(m_connection);
connect(m_rootElement, &FGCanvasGroup::canvasSizeChanged,
connect(m_rootElement.data(), &FGCanvasGroup::canvasSizeChanged,
this, &CanvasPaintedDisplay::onCanvasSizeChanged);
onCanvasSizeChanged();

View file

@ -18,6 +18,8 @@ Rectangle {
}
}
Component.onCompleted: idleTimer.start();
Image {
opacity: __uiOpacity * 0.5
source: "qrc:///images/checkerboard"