mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 16:55:07 +02:00
Updates from code review
This commit is contained in:
parent
e2e762f9e7
commit
bdff71151d
3 changed files with 6 additions and 7 deletions
|
@ -56,7 +56,7 @@ ScrollingWindow {
|
|||
anchors.top: parent.top
|
||||
|
||||
TabView {
|
||||
id: tabView;
|
||||
id: tabView
|
||||
width: pane.contentWidth
|
||||
// Pane height so that don't use Window's scrollbars otherwise tabs may be scrolled out of view.
|
||||
height: pane.scrollHeight
|
||||
|
@ -69,10 +69,10 @@ ScrollingWindow {
|
|||
// (required for letting the C++ code access the webview)
|
||||
active: true
|
||||
enabled: false
|
||||
property string originalUrl: "";
|
||||
property string originalUrl: ""
|
||||
|
||||
WebView {
|
||||
id: webView;
|
||||
id: webView
|
||||
anchors.fill: parent
|
||||
enabled: false
|
||||
property alias eventBridgeWrapper: eventBridgeWrapper
|
||||
|
@ -80,11 +80,11 @@ ScrollingWindow {
|
|||
QtObject {
|
||||
id: eventBridgeWrapper
|
||||
WebChannel.id: "eventBridgeWrapper"
|
||||
property var eventBridge;
|
||||
property var eventBridge
|
||||
}
|
||||
|
||||
webChannel.registeredObjects: [eventBridgeWrapper]
|
||||
onEnabledChanged: toolWindow.updateVisiblity();
|
||||
onEnabledChanged: toolWindow.updateVisiblity()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -109,7 +109,7 @@ Column {
|
|||
}
|
||||
|
||||
MouseArea {
|
||||
// Events are propogated so that any active control is defocussed.
|
||||
// Events are propogated so that any active control is defocused.
|
||||
anchors.fill: parent
|
||||
propagateComposedEvents: true
|
||||
onPressed: {
|
||||
|
|
|
@ -581,7 +581,6 @@ bool OffscreenQmlRenderThread::allowNewFrame(uint8_t fps) {
|
|||
}
|
||||
|
||||
OffscreenQmlSurface::OffscreenQmlSurface() {
|
||||
// moveToThread(qApp->thread());
|
||||
}
|
||||
|
||||
static const uint64_t MAX_SHUTDOWN_WAIT_SECS = 2;
|
||||
|
|
Loading…
Reference in a new issue