summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2020-03-30 10:09:45 +0200
committerLars Knoll <lars.knoll@qt.io>2020-03-30 11:02:14 +0200
commit0964e5c37395d7d5f6c50d1e659d3bc8f2707711 (patch)
tree8ac5acc5718d4353ff0c2fa6458209b0ca231c42
parent5ca8c0bc4e7e2f3af9a8d91d00ad11329a7cab8a (diff)
Fix compilation after change 46ebd11e66f6f3180043a7258b46a1aff79a69f8 in qtbase. Fixes: QTBUG-83171 Change-Id: I0a82c8f8c37ca8adc097cb2f480b8b54253e10b2 Reviewed-by: Vitaly Fanaskov <vitaly.fanaskov@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
-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();