mirror of
https://github.com/lubosz/overte.git
synced 2025-08-08 03:08:00 +02:00
comment out code that causes a crash on launch from fresh install
This commit is contained in:
parent
fc8b7c7cc5
commit
75e1b265d5
1 changed files with 3 additions and 1 deletions
|
@ -831,7 +831,9 @@ bool OffscreenQmlSurface::eventFilter(QObject* originalDestination, QEvent* even
|
||||||
mouseEvent->screenPos(), mouseEvent->button(),
|
mouseEvent->screenPos(), mouseEvent->button(),
|
||||||
mouseEvent->buttons(), mouseEvent->modifiers());
|
mouseEvent->buttons(), mouseEvent->modifiers());
|
||||||
if (event->type() == QEvent::MouseMove) {
|
if (event->type() == QEvent::MouseMove) {
|
||||||
_qmlContext->setContextProperty("lastMousePosition", transformedPos);
|
// TODO - this line necessary for the QML Tooltop to work (which is not currently being used), but it causes interface to crash on launch on a fresh install
|
||||||
|
// need to investigate into why this crash is happening.
|
||||||
|
//_qmlContext->setContextProperty("lastMousePosition", transformedPos);
|
||||||
}
|
}
|
||||||
mappedEvent.ignore();
|
mappedEvent.ignore();
|
||||||
if (QCoreApplication::sendEvent(_quickWindow, &mappedEvent)) {
|
if (QCoreApplication::sendEvent(_quickWindow, &mappedEvent)) {
|
||||||
|
|
Loading…
Reference in a new issue