diff options
Diffstat (limited to 'examples/webchannel/chatserver-cpp/main.cpp')
-rw-r--r-- | examples/webchannel/chatserver-cpp/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/webchannel/chatserver-cpp/main.cpp b/examples/webchannel/chatserver-cpp/main.cpp index f74af78..ea27e87 100644 --- a/examples/webchannel/chatserver-cpp/main.cpp +++ b/examples/webchannel/chatserver-cpp/main.cpp @@ -78,7 +78,7 @@ int main(int argc, char** argv) // setup the dialog and publish it to the QWebChannel ChatServer* chatserver = new ChatServer(&app); - channel.registerObject("chatserver", chatserver); + channel.registerObject(QStringLiteral("chatserver"), chatserver); return app.exec(); } |