diff options
-rw-r--r-- | examples/xmlpatterns/recipes/querymainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/xmlpatterns/recipes/querymainwindow.cpp b/examples/xmlpatterns/recipes/querymainwindow.cpp index dd20fb6..b968d28 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(); |