addressing commetn

This commit is contained in:
amer cerkic 2019-07-29 09:40:58 -07:00
parent 854f89cace
commit b3ea9d0de7
2 changed files with 2 additions and 3 deletions

View file

@ -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) {

View file

@ -41,7 +41,6 @@ class InteractiveWindowProxy : public QObject {
Q_OBJECT
public:
InteractiveWindowProxy(){}
public slots:
void emitScriptEvent(const QVariant& scriptMessage);