summaryrefslogtreecommitdiffstats
path: root/src/manager-lib/qmlinprocessruntime.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/manager-lib/qmlinprocessruntime.cpp')
-rw-r--r--src/manager-lib/qmlinprocessruntime.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/manager-lib/qmlinprocessruntime.cpp b/src/manager-lib/qmlinprocessruntime.cpp
index 3ed2e061..ca650e27 100644
--- a/src/manager-lib/qmlinprocessruntime.cpp
+++ b/src/manager-lib/qmlinprocessruntime.cpp
@@ -186,7 +186,7 @@ bool QmlInProcessRuntime::start()
QTimer::singleShot(0, this, [component, this]() {
component->completeCreate();
if (!m_document.isEmpty())
- emit openDocument(m_document, QString());
+ openDocument(m_document, QString());
setState(Active);
delete component;
});
@@ -292,7 +292,7 @@ void QmlInProcessRuntime::openDocument(const QString &document, const QString &m
{
m_document = document;
if (m_applicationIf)
- m_applicationIf->openDocument(document, mimeType);
+ emit m_applicationIf->openDocument(document, mimeType);
}
qint64 QmlInProcessRuntime::applicationProcessId() const