Fixes for the sim-pit
* ensure the UI disappears with no user interaction * comoile fix for GCC
This commit is contained in:
parent
d2c3ecace1
commit
7e3c1a1b1d
2 changed files with 3 additions and 1 deletions
|
@ -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();
|
||||
|
|
|
@ -18,6 +18,8 @@ Rectangle {
|
|||
}
|
||||
}
|
||||
|
||||
Component.onCompleted: idleTimer.start();
|
||||
|
||||
Image {
|
||||
opacity: __uiOpacity * 0.5
|
||||
source: "qrc:///images/checkerboard"
|
||||
|
|
Loading…
Reference in a new issue