From ffe88499bb41f755c200e1ecff488811f91acf51 Mon Sep 17 00:00:00 2001 From: shenleban tongying Date: Mon, 19 Jun 2023 20:17:58 -0400 Subject: [PATCH] fix: macOS missing slot warning --- src/ui/scanpopup.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/scanpopup.cc b/src/ui/scanpopup.cc index 9987d6e0..8f7055d0 100644 --- a/src/ui/scanpopup.cc +++ b/src/ui/scanpopup.cc @@ -243,9 +243,9 @@ ScanPopup::ScanPopup( QWidget * parent, #ifdef Q_OS_MAC connect( &MouseOver::instance(), - SIGNAL( hovered( QString const &, bool ) ), + &MouseOver::hovered, this, - SLOT( handleInputWord( QString const &, bool ) ) ); + &ScanPopup::handleInputWord); #endif hideTimer.setSingleShot( true );