summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/qwebchannel.cpp1
-rw-r--r--src/qwebchannel.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/qwebchannel.cpp b/src/qwebchannel.cpp
index ee03cf8..d51dd72 100644
--- a/src/qwebchannel.cpp
+++ b/src/qwebchannel.cpp
@@ -442,6 +442,7 @@ void QWebChannel::setMaxPort(int p)
void QWebChannel::onInitialized()
{
+ emit initialized();
emit baseUrlChanged(d->baseUrl);
}
diff --git a/src/qwebchannel.h b/src/qwebchannel.h
index c3f90d9..b564787 100644
--- a/src/qwebchannel.h
+++ b/src/qwebchannel.h
@@ -106,6 +106,7 @@ signals:
// To be able to access the object from QML, it has to be an explicit QObject* and not a subclass.
void execute(const QString& requestData, QObject* response);
void noPortAvailable();
+ void initialized();
public slots:
void broadcast(const QString& id, const QString& data);