From e0fecdc7bc7b3dbd6a6f9046d43450b3bdd38a60 Mon Sep 17 00:00:00 2001 From: Jarek Kobus Date: Fri, 15 Jan 2021 11:43:03 +0100 Subject: Hardcode a special case of using qOverload for slots without arguments Fixes: QTBUG-90308 Change-Id: I35cd45679ded626654dd0e7e3eea8a7bb14c1d56 Reviewed-by: Qt CI Bot Reviewed-by: Jarek Kobus (cherry picked from commit 98a89fb711a15fcf9f541f7b4a8ae7492e5a445c) Reviewed-by: Qt Cherry-pick Bot --- tests/auto/tools/uic/baseline/history.ui.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/auto/tools/uic/baseline/history.ui.h') diff --git a/tests/auto/tools/uic/baseline/history.ui.h b/tests/auto/tools/uic/baseline/history.ui.h index 7110068e90..e74e37d7b3 100644 --- a/tests/auto/tools/uic/baseline/history.ui.h +++ b/tests/auto/tools/uic/baseline/history.ui.h @@ -85,7 +85,7 @@ public: retranslateUi(HistoryDialog); - QObject::connect(buttonBox, &QDialogButtonBox::accepted, HistoryDialog, &QDialog::accept); + QObject::connect(buttonBox, &QDialogButtonBox::accepted, HistoryDialog, qOverload<>(&QDialog::accept)); QMetaObject::connectSlotsByName(HistoryDialog); } // setupUi -- cgit v1.2.3