From 49278776ca326be5b4201ffa37a3fed8a8ce588f Mon Sep 17 00:00:00 2001 From: Mathieu Pellerin Date: Sat, 23 Nov 2024 17:52:33 +0700 Subject: [PATCH] Note for our future selves --- src/core/locator/qfieldlocatorfilter.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/locator/qfieldlocatorfilter.cpp b/src/core/locator/qfieldlocatorfilter.cpp index e51a40c1a1..c2407ef6c9 100644 --- a/src/core/locator/qfieldlocatorfilter.cpp +++ b/src/core/locator/qfieldlocatorfilter.cpp @@ -131,6 +131,7 @@ void QFieldLocatorFilter::fetchResults( const QString &string, const QgsLocatorC if ( object ) { mFetchResultsEnded = false; + // These SIGNAL() SLOT() macros are needed, it is the only connect syntax that will work with signals declared within the QML environment itself connect( object, SIGNAL( prepareResult( QVariant ) ), this, SLOT( prepareResult( QVariant ) ) ); connect( object, SIGNAL( fetchResultsEnded() ), this, SLOT( fetchResultsEnded() ) );