diff options
-rw-r--r-- | .qmake.conf | 2 | ||||
-rw-r--r-- | src/webchannel/doc/src/javascript.qdoc | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/.qmake.conf b/.qmake.conf index a22e93e..748ca99 100644 --- a/.qmake.conf +++ b/.qmake.conf @@ -1,4 +1,4 @@ load(qt_build_config) CONFIG += warning_clean -MODULE_VERSION = 5.14.2 +MODULE_VERSION = 5.15.0 diff --git a/src/webchannel/doc/src/javascript.qdoc b/src/webchannel/doc/src/javascript.qdoc index ef44250..92170a0 100644 --- a/src/webchannel/doc/src/javascript.qdoc +++ b/src/webchannel/doc/src/javascript.qdoc @@ -89,8 +89,8 @@ new QWebChannel(yourTransport, function(channel) { // To get notified about remote property changes, // simply connect to the corresponding notify signal: - foo.onMyPropertyChanged.connect(function(newValue) { - console.log(newValue); + foo.myPropertyChanged.connect(function() { + console.log(foo.myProperty); }); // One can also access enums that are marked with Q_ENUM: |