summaryrefslogtreecommitdiff
path: root/examples/webchannel/standalone/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/webchannel/standalone/main.cpp')
-rw-r--r--examples/webchannel/standalone/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/webchannel/standalone/main.cpp b/examples/webchannel/standalone/main.cpp
index 0aeb45c..f468652 100644
--- a/examples/webchannel/standalone/main.cpp
+++ b/examples/webchannel/standalone/main.cpp
@@ -78,7 +78,7 @@ public:
ui.setupUi(&dialog);
dialog.show();
- connect(ui.send, SIGNAL(clicked()), SLOT(clicked()));
+ connect(ui.send, &QPushButton::clicked, this, &Dialog::clicked);
}
void displayMessage(const QString &message)