mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-08 23:12:16 +02:00
addressing commetn
This commit is contained in:
parent
854f89cace
commit
b3ea9d0de7
2 changed files with 2 additions and 3 deletions
|
@ -142,9 +142,9 @@ InteractiveWindow::InteractiveWindow(const QString& sourceUrl, const QVariantMap
|
|||
p->deleteLater();
|
||||
});
|
||||
|
||||
QObject::connect(_interactiveWindowProxy.get(), &InteractiveWindowProxy::webEventReceived,
|
||||
connect(_interactiveWindowProxy.get(), &InteractiveWindowProxy::webEventReceived,
|
||||
this, &InteractiveWindow::emitWebEvent, Qt::QueuedConnection);
|
||||
QObject::connect(this, &InteractiveWindow::scriptEventReceived, _interactiveWindowProxy.get(),
|
||||
connect(this, &InteractiveWindow::scriptEventReceived, _interactiveWindowProxy.get(),
|
||||
&InteractiveWindowProxy::emitScriptEvent, Qt::QueuedConnection);
|
||||
|
||||
if (properties.contains(DOCKED_PROPERTY) && presentationMode == InteractiveWindowPresentationMode::Native) {
|
||||
|
|
|
@ -41,7 +41,6 @@ class InteractiveWindowProxy : public QObject {
|
|||
Q_OBJECT
|
||||
public:
|
||||
InteractiveWindowProxy(){}
|
||||
|
||||
public slots:
|
||||
|
||||
void emitScriptEvent(const QVariant& scriptMessage);
|
||||
|
|
Loading…
Reference in a new issue