summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/xmlpatterns/recipes/querymainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/xmlpatterns/recipes/querymainwindow.cpp b/examples/xmlpatterns/recipes/querymainwindow.cpp
index dd20fb65..b968d285 100644
--- a/examples/xmlpatterns/recipes/querymainwindow.cpp
+++ b/examples/xmlpatterns/recipes/querymainwindow.cpp
@@ -66,7 +66,7 @@ QueryMainWindow::QueryMainWindow()
ui_defaultQueries = findChild<QComboBox*>("defaultQueries");
QMetaObject::connectSlotsByName(this);
- connect(ui_defaultQueries, QOverload<int, const QString &>::of(&QComboBox::currentIndexChanged),
+ connect(ui_defaultQueries, QOverload<int>::of(&QComboBox::currentIndexChanged),
this, &QueryMainWindow::displayQuery);
loadInputFile();